1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-20 17:48:57 +09:00
YuruToot/lib/tasks/feeds.rake

9 lines
209 B
Ruby
Raw Normal View History

namespace :feeds do
desc "Removes all feeds from Redis, forcing a precompute on next request for each user"
task clear: :environment do
$redis.keys('feed:*').each { |key| $redis.del(key) }
end
end