summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-04-10 19:50:48 +0100
committerNick Thomas <nick@gitlab.com>2017-04-21 11:52:28 +0100
commite9819de10aa1ca29cb760c714c37ab0a23c0bd89 (patch)
tree5fa50e7464ae0239b885cd9d0d9271b393263d6d /lib/tasks
parent6647542cd4db5f5aba36ae7d7d029bdaf8b59a35 (diff)
downloadgitlab-ce-e9819de10aa1ca29cb760c714c37ab0a23c0bd89.tar.gz
Remove the ClearDatabaseCacheWorker
Diffstat (limited to 'lib/tasks')
-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'