about summary refs log tree commit diff
path: root/app/workers/admin
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-04-05 21:41:50 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-04-05 21:43:10 +0200
commit5442083b3c44c731679fc489568bf7f70a807a39 (patch)
tree009c6f57e1707356fc2a78822bae7baf2321b405 /app/workers/admin
parentbafbf63fcca81ae9dce3a40959b8a47e5fcfc6ac (diff)
Split SalmonWorker into smaller parts, move profile updating into another job
Diffstat (limited to 'app/workers/admin')
-rw-r--r--app/workers/admin/suspension_worker.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/admin/suspension_worker.rb b/app/workers/admin/suspension_worker.rb
index 38761f3b9..7ef2b35ec 100644
--- a/app/workers/admin/suspension_worker.rb
+++ b/app/workers/admin/suspension_worker.rb
@@ -3,6 +3,8 @@
 class Admin::SuspensionWorker
   include Sidekiq::Worker
 
+  sidekiq_options queue: 'pull'
+
   def perform(account_id)
     SuspendAccountService.new.call(Account.find(account_id))
   end