about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-02-12 05:10:43 +0100
committerEugen Rochko <eugen@zeonfederated.com>2019-02-12 05:10:43 +0100
commit99c4b5b75ad8856f6e05e6a838abacc755a7b183 (patch)
tree1c01a5338b3858044dfc4dc2d9defebf99ebf493 /app/workers
parent0e513ff862faf7fa9e5b89d2ab7d22fd0ab540ff (diff)
Move sending account Delete to anyone but the account's followers to the pull̀ queue (#10016)
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/activitypub/low_priority_delivery_worker.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/workers/activitypub/low_priority_delivery_worker.rb b/app/workers/activitypub/low_priority_delivery_worker.rb
new file mode 100644
index 000000000..a141b8f78
--- /dev/null
+++ b/app/workers/activitypub/low_priority_delivery_worker.rb
@@ -0,0 +1,5 @@
+# frozen_string_literal: true
+
+class ActivityPub::LowPriorityDeliveryWorker < ActivityPub::DeliveryWorker
+  sidekiq_options queue: 'pull', retry: 8, dead: false
+end