Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
943211b0
Commit
943211b0
authored
Jan 01, 2019
by
Michael Loftis
🦀
Browse files
rewrites List.foldl to Enum.each
parent
d1983ed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/web/federator/retry_queue.ex
View file @
943211b0
...
...
@@ -87,9 +87,8 @@ defp ets_pop_n_expired(table, current_time, desired) do
)
popped
|>
List
.
foldl
(
true
,
fn
e
,
acc
->
|>
Enum
.
each
(
fn
e
->
:ets
.
delete_object
(
table
,
e
)
acc
end
)
popped
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment