diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-06 13:05:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-06 13:05:03 +0200 |
commit | b8e166894b1d41ef417c89836a336590d93532f9 (patch) | |
tree | 5e95134e1a81518a02a5ae0e70833aa28c6adcaf /app/workers/pubsubhubbub/confirmation_worker.rb | |
parent | 1f15a15621860d97107c2be420af8925756970c5 (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/confirmation_worker.rb')
-rw-r--r-- | app/workers/pubsubhubbub/confirmation_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/pubsubhubbub/confirmation_worker.rb b/app/workers/pubsubhubbub/confirmation_worker.rb index 868fd9f97..b02dd3f55 100644 --- a/app/workers/pubsubhubbub/confirmation_worker.rb +++ b/app/workers/pubsubhubbub/confirmation_worker.rb @@ -25,7 +25,7 @@ class Pubsubhubbub::ConfirmationWorker body = response.body.to_s - Rails.logger.debug "Confirming PuSH subscription for #{subscription.callback_url} with challenge #{challenge}: #{body}" + logger.debug "Confirming PuSH subscription for #{subscription.callback_url} with challenge #{challenge}: #{body}" if mode == 'subscribe' && body == challenge subscription.save! |