about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-02-12 20:32:48 +0100
committerThibaut Girka <thib@sitedethib.com>2019-02-12 20:32:48 +0100
commit0e34e91661d47ffbb08121c74c8a2de5266de0c8 (patch)
tree949024a721989fb2de04de0412cdbdbd41990e36 /app/workers
parenta3ba28eb17d75af37396359e8c37675e06605ccf (diff)
parent2f80a348c9de3de6dbf220f9e12d5906042b3f73 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
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