mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-13 00:26:59 +01:00
8 lines
209 B
Ruby
8 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
|