Fix PuSH workers (#6200)

This commit is contained in:
ThibG 2018-01-05 23:04:35 +01:00 committed by Eugen Rochko
parent 090bd4d505
commit 0a8dd8fdd3

View file

@ -20,7 +20,7 @@ class Pubsubhubbub::SubscribeWorker
sidekiq_retries_exhausted do |msg, _e| sidekiq_retries_exhausted do |msg, _e|
account = Account.find(msg['args'].first) account = Account.find(msg['args'].first)
logger.error "PuSH subscription attempts for #{account.acct} exhausted. Unsubscribing" Sidekiq.logger.error "PuSH subscription attempts for #{account.acct} exhausted. Unsubscribing"
::UnsubscribeService.new.call(account) ::UnsubscribeService.new.call(account)
end end