add a job queue
This commit is contained in:
parent
6383fa3a5d
commit
55affbca7f
15 changed files with 358 additions and 142 deletions
|
|
@ -156,7 +156,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
|
|||
_ -> 5
|
||||
end
|
||||
|
||||
Pleroma.Web.Federator.enqueue(:publish, activity, priority)
|
||||
Pleroma.Web.Federator.publish(activity, priority)
|
||||
:ok
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue