Use a redis-cached feed for the DM timeline
This commit is contained in:
@@ -9,6 +9,7 @@ class Scheduler::FeedCleanupScheduler
|
||||
def perform
|
||||
clean_home_feeds!
|
||||
clean_list_feeds!
|
||||
clean_direct_feeds!
|
||||
end
|
||||
|
||||
private
|
||||
@@ -21,6 +22,10 @@ class Scheduler::FeedCleanupScheduler
|
||||
clean_feeds!(inactive_list_ids, :list)
|
||||
end
|
||||
|
||||
def clean_direct_feeds!
|
||||
clean_feeds!(inactive_account_ids, :direct)
|
||||
end
|
||||
|
||||
def clean_feeds!(ids, type)
|
||||
reblogged_id_sets = {}
|
||||
|
||||
|
Reference in New Issue
Block a user