Skip to content
Snippets Groups Projects
Commit 943211b0 authored by Michael Loftis's avatar Michael Loftis :crab:
Browse files

rewrites List.foldl to Enum.each

parent d1983ed0
No related branches found
No related tags found
No related merge requests found
......@@ -87,9 +87,8 @@ defmodule Pleroma.Web.Federator.RetryQueue do
)
popped
|> List.foldl(true, fn e, acc ->
|> Enum.each(fn e ->
:ets.delete_object(table, e)
acc
end)
popped
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment