parent
02e4fb2e06
commit
12559b01ea
@ -0,0 +1,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
|
Loading…
Reference in new issue