Fix queue name
This commit is contained in:
parent
305d219413
commit
3f32d7b937
|
@ -38,31 +38,31 @@ def incoming_ap_doc(params) do
|
||||||
end
|
end
|
||||||
|
|
||||||
def publish(activity, priority \\ 1) do
|
def publish(activity, priority \\ 1) do
|
||||||
Jobs.enqueue(:federator_out, __MODULE__, [:publish, activity], priority)
|
Jobs.enqueue(:federator_outgoing, __MODULE__, [:publish, activity], priority)
|
||||||
end
|
end
|
||||||
|
|
||||||
def publish_single_ap(params) do
|
def publish_single_ap(params) do
|
||||||
Jobs.enqueue(:federator_out, __MODULE__, [:publish_single_ap, params])
|
Jobs.enqueue(:federator_outgoing, __MODULE__, [:publish_single_ap, params])
|
||||||
end
|
end
|
||||||
|
|
||||||
def publish_single_websub(websub) do
|
def publish_single_websub(websub) do
|
||||||
Jobs.enqueue(:federator_out, __MODULE__, [:publish_single_websub, websub])
|
Jobs.enqueue(:federator_outgoing, __MODULE__, [:publish_single_websub, websub])
|
||||||
end
|
end
|
||||||
|
|
||||||
def verify_websub(websub) do
|
def verify_websub(websub) do
|
||||||
Jobs.enqueue(:federator_out, __MODULE__, [:verify_websub, websub])
|
Jobs.enqueue(:federator_outgoing, __MODULE__, [:verify_websub, websub])
|
||||||
end
|
end
|
||||||
|
|
||||||
def request_subscription(sub) do
|
def request_subscription(sub) do
|
||||||
Jobs.enqueue(:federator_out, __MODULE__, [:request_subscription, sub])
|
Jobs.enqueue(:federator_outgoing, __MODULE__, [:request_subscription, sub])
|
||||||
end
|
end
|
||||||
|
|
||||||
def refresh_subscriptions() do
|
def refresh_subscriptions() do
|
||||||
Jobs.enqueue(:federator_out, __MODULE__, [:refresh_subscriptions])
|
Jobs.enqueue(:federator_outgoing, __MODULE__, [:refresh_subscriptions])
|
||||||
end
|
end
|
||||||
|
|
||||||
def publish_single_salmon(params) do
|
def publish_single_salmon(params) do
|
||||||
Jobs.enqueue(:federator_out, __MODULE__, [:publish_single_salmon, params])
|
Jobs.enqueue(:federator_outgoing, __MODULE__, [:publish_single_salmon, params])
|
||||||
end
|
end
|
||||||
|
|
||||||
# Job Worker Callbacks
|
# Job Worker Callbacks
|
||||||
|
|
Loading…
Reference in New Issue