rake task to clear redis cache
This commit is contained in:
parent
a0bca5b71d
commit
2a6b4f965e
6
lib/tasks/cache.rake
Normal file
6
lib/tasks/cache.rake
Normal file
|
@ -0,0 +1,6 @@
|
|||
namespace :cache do
|
||||
desc "GITLAB | Clear redis cache"
|
||||
task :clear => :environment do
|
||||
Rails.cache.clear
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue