diff options
author | Nick Thomas <nick@gitlab.com> | 2017-04-10 19:50:48 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-04-21 11:52:28 +0100 |
commit | e9819de10aa1ca29cb760c714c37ab0a23c0bd89 (patch) | |
tree | 5fa50e7464ae0239b885cd9d0d9271b393263d6d /lib/tasks | |
parent | 6647542cd4db5f5aba36ae7d7d029bdaf8b59a35 (diff) | |
download | gitlab-ce-e9819de10aa1ca29cb760c714c37ab0a23c0bd89.tar.gz |
Remove the ClearDatabaseCacheWorker
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/cache.rake | 7 |
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' |