This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
|
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
|