projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Handle subscriptions in queue.
[akkoma]
/
lib
/
pleroma
/
web
/
websub
/
websub.ex
diff --git
a/lib/pleroma/web/websub/websub.ex
b/lib/pleroma/web/websub/websub.ex
index 932bf186267dcea50d773139dedd5d4a3e6aa4c2..17fc42cb53065460f429b79211881c73026adc99 100644
(file)
--- a/
lib/pleroma/web/websub/websub.ex
+++ b/
lib/pleroma/web/websub/websub.ex
@@
-216,8
+216,8
@@
defmodule Pleroma.Web.Websub do
subs = Repo.all(query)
- Enum.
map
(subs, fn (sub) ->
-
request_subscription(
sub)
+ Enum.
each
(subs, fn (sub) ->
+
Pleroma.Web.Federator.enqueue(:request_subscription,
sub)
end)
end
end