mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-24 02:02:19 +00:00
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
|
@ -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