about summary refs log tree commit diff
path: root/app/workers/pubsubhubbub/subscribe_worker.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-05-06 13:05:03 +0200
committerGitHub <noreply@github.com>2017-05-06 13:05:03 +0200
commitb8e166894b1d41ef417c89836a336590d93532f9 (patch)
tree5e95134e1a81518a02a5ae0e70833aa28c6adcaf /app/workers/pubsubhubbub/subscribe_worker.rb
parent1f15a15621860d97107c2be420af8925756970c5 (diff)
Fix Scheduler::SubscriptionsScheduler (#2834)
* Fix Scheduler::SubscriptionsScheduler, add worker test for it

* Change production log level of Sidekiq to "warn" instead of "info"
Diffstat (limited to 'app/workers/pubsubhubbub/subscribe_worker.rb')
-rw-r--r--app/workers/pubsubhubbub/subscribe_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/pubsubhubbub/subscribe_worker.rb b/app/workers/pubsubhubbub/subscribe_worker.rb
index 0c4111a8c..5b0956b6b 100644
--- a/app/workers/pubsubhubbub/subscribe_worker.rb
+++ b/app/workers/pubsubhubbub/subscribe_worker.rb
@@ -7,7 +7,7 @@ class Pubsubhubbub::SubscribeWorker
 
   def perform(account_id)
     account = Account.find(account_id)
-    Rails.logger.debug "PuSH re-subscribing to #{account.acct}"
+    logger.debug "PuSH re-subscribing to #{account.acct}"
     ::SubscribeService.new.call(account)
   end
 end