mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
rewrites List.foldl to Enum.each
This commit is contained in:
parent
d1983ed028
commit
943211b035
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue