summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-07 15:42:07 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-07 15:42:07 +0200
commitcf669551f69edd66913d22c96cf1de1302e7990e (patch)
tree68cbc6a0e366487883d5ca8637fd4dbf0f241e63 /lib/tasks
parent3137f61a5558d1b38dd9f607263d5a21b61deb2d (diff)
downloadgitlab-ce-cf669551f69edd66913d22c96cf1de1302e7990e.tar.gz
Put CACHE_NAMESPACE in the Gitlab::Redis module
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/cache.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/cache.rake b/lib/tasks/cache.rake
index 6c2e2e91494..2214f855200 100644
--- a/lib/tasks/cache.rake
+++ b/lib/tasks/cache.rake
@@ -9,7 +9,7 @@ namespace :cache do
loop do
cursor, keys = redis.scan(
cursor,
- match: "#{Gitlab::REDIS_CACHE_NAMESPACE}*",
+ match: "#{Gitlab::Redis::CACHE_NAMESPACE}*",
count: CLEAR_BATCH_SIZE
)