Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-04-10 21:50:48 +0300
committerNick Thomas <nick@gitlab.com>2017-04-21 13:52:28 +0300
commite9819de10aa1ca29cb760c714c37ab0a23c0bd89 (patch)
tree5fa50e7464ae0239b885cd9d0d9271b393263d6d /lib/tasks/cache.rake
parent6647542cd4db5f5aba36ae7d7d029bdaf8b59a35 (diff)
Remove the ClearDatabaseCacheWorker
Diffstat (limited to 'lib/tasks/cache.rake')
-rw-r--r--lib/tasks/cache.rake7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/tasks/cache.rake b/lib/tasks/cache.rake
index d55923673b1..125a3d560d6 100644
--- a/lib/tasks/cache.rake
+++ b/lib/tasks/cache.rake
@@ -21,12 +21,7 @@ namespace :cache do
end
end
- desc "GitLab | Clear database cache (in the background)"
- task db: :environment do
- ClearDatabaseCacheWorker.perform_async
- end
-
- task all: [:db, :redis]
+ task all: [:redis]
end
task clear: 'cache:clear:redis'