Periodically remove expired PuSH subscribers (#4654)
This commit is contained in:
parent
143b77e10d
commit
f391a4673a
6 changed files with 15 additions and 4 deletions
|
@ -7,7 +7,6 @@ class Scheduler::SubscriptionsScheduler
|
|||
include Sidekiq::Worker
|
||||
|
||||
def perform
|
||||
logger.info 'Queueing PuSH re-subscriptions'
|
||||
Pubsubhubbub::SubscribeWorker.push_bulk(expiring_accounts.pluck(:id))
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue