Process inbound Delete activities at lowest priority
This commit is contained in:
parent
94daa3e8c1
commit
d417f73218
|
@ -43,6 +43,10 @@ def incoming_ap_doc(%{params: params, req_headers: req_headers}) do
|
|||
)
|
||||
end
|
||||
|
||||
def incoming_ap_doc(%{"type" => "Delete"} = params) do
|
||||
ReceiverWorker.enqueue("incoming_ap_doc", %{"params" => params}, priority: 3)
|
||||
end
|
||||
|
||||
def incoming_ap_doc(params) do
|
||||
ReceiverWorker.enqueue("incoming_ap_doc", %{"params" => params})
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue