blob: 8f4dc78b980cad469bca7ece9c7205783bbdb75b (
plain) (
blame)
1
2
3
4
5
6
7
8
|
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
|