mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-18 00:54:49 +01:00
Fix PuSH workers (#6200)
This commit is contained in:
parent
a594139115
commit
10f6793fd0
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user