1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-24 23:26:31 +09:00
whippy-edition/lib/tasks/feeds.rake
2016-03-22 21:38:47 +01:00

9 lines
209 B
Ruby

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