mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-27 08:35:05 +01:00
Merge branch 'fix/slow-federation' into 'develop'
publisher: use the correct queue name for outgoing federation See merge request pleroma/pleroma!1163
This commit is contained in:
commit
3a96c29c65
@ -31,7 +31,7 @@ defmodule Pleroma.Web.Federator.Publisher do
|
||||
"""
|
||||
@spec enqueue_one(module(), Map.t()) :: :ok
|
||||
def enqueue_one(module, %{} = params),
|
||||
do: PleromaJobQueue.enqueue(:federation_outgoing, __MODULE__, [:publish_one, module, params])
|
||||
do: PleromaJobQueue.enqueue(:federator_outgoing, __MODULE__, [:publish_one, module, params])
|
||||
|
||||
@spec perform(atom(), module(), any()) :: {:ok, any()} | {:error, any()}
|
||||
def perform(:publish_one, module, params) do
|
||||
|
Loading…
Reference in New Issue
Block a user