Cleaning up format of broadcast real-time messages, removing
redis-backed "mentions" timeline as redundant (given notifications)
This commit is contained in:
parent
1da0ce5c7c
commit
d9ca46b464
17 changed files with 26 additions and 110 deletions
|
@ -36,7 +36,6 @@ namespace :mastodon do
|
|||
task clear: :environment do
|
||||
User.where('current_sign_in_at < ?', 14.days.ago).find_each do |user|
|
||||
Redis.current.del(FeedManager.instance.key(:home, user.account_id))
|
||||
Redis.current.del(FeedManager.instance.key(:mentions, user.account_id))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue