about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-28 19:11:36 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-28 19:11:36 +0100
commit4eba76711b4686ffc2faaf568e7491061ec35eb4 (patch)
tree95994be6033aa85ced470cc3dfc39ac18fdb1597 /app/workers
parent27fc49d74546d689307e1e712e0b46ccce98867b (diff)
Adding backtracing to Salmon/Processing workers
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/processing_worker.rb1
-rw-r--r--app/workers/salmon_worker.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/processing_worker.rb b/app/workers/processing_worker.rb
index 3b11a4c5e..34433a793 100644
--- a/app/workers/processing_worker.rb
+++ b/app/workers/processing_worker.rb
@@ -2,6 +2,7 @@
 
 class ProcessingWorker
   include Sidekiq::Worker
+  sidekiq_options backtrace: true
 
   def perform(account_id, body)
     ProcessFeedService.new.call(body, Account.find(account_id))
diff --git a/app/workers/salmon_worker.rb b/app/workers/salmon_worker.rb
index 24fb94012..4a6ccf54d 100644
--- a/app/workers/salmon_worker.rb
+++ b/app/workers/salmon_worker.rb
@@ -2,6 +2,7 @@
 
 class SalmonWorker
   include Sidekiq::Worker
+  sidekiq_options backtrace: true
 
   def perform(account_id, body)
     ProcessInteractionService.new.call(body, Account.find(account_id))