Periodically remove expired PuSH subscribers (#4654)
This commit is contained in:
@ -5,8 +5,6 @@ class Scheduler::FeedCleanupScheduler
|
||||
include Sidekiq::Worker
|
||||
|
||||
def perform
|
||||
logger.info 'Cleaning out home feeds of inactive users'
|
||||
|
||||
redis.pipelined do
|
||||
inactive_users.pluck(:account_id).each do |account_id|
|
||||
redis.del(FeedManager.instance.key(:home, account_id))
|
||||
|
Reference in New Issue
Block a user