mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
9 lines
209 B
Ruby
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
|