projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1983ed
)
rewrites List.foldl to Enum.each
author
Michael Loftis
<mloftis@wgops.com>
Tue, 1 Jan 2019 15:40:57 +0000
(15:40 +0000)
committer
Michael Loftis
<mloftis@wgops.com>
Wed, 2 Jan 2019 21:21:40 +0000
(21:21 +0000)
lib/pleroma/web/federator/retry_queue.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/federator/retry_queue.ex
b/lib/pleroma/web/federator/retry_queue.ex
index 230a2c939ed60f9112c1ba952b385f18f8559d20..e0ce251d201f813b2d22529b4f8962698734777c 100644
(file)
--- a/
lib/pleroma/web/federator/retry_queue.ex
+++ b/
lib/pleroma/web/federator/retry_queue.ex
@@
-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