Merge branch 'mr/retry-queue-remove-fold' into 'develop'
rewrites List.foldl to Enum.each in RetryQueue See merge request pleroma/pleroma!621
This commit is contained in:
commit
d9d62a110c
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