Commit 2a6b4f965e97867dbec9c3c5091b61c4ec27bb5d

Authored by Dmitriy Zaporozhets
1 parent a0bca5b7

rake task to clear redis cache

Showing 1 changed file with 6 additions and 0 deletions   Show diff stats
lib/tasks/cache.rake 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +namespace :cache do
  2 + desc "GITLAB | Clear redis cache"
  3 + task :clear => :environment do
  4 + Rails.cache.clear
  5 + end
  6 +end
... ...