summaryrefslogtreecommitdiff
path: root/lib/tasks/cache.rake
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-02-23 17:19:28 +0000
committerRobert Speicher <robert@gitlab.com>2017-02-23 17:19:28 +0000
commit170fef0bd34a853bc2499cc7335705f73bc98edb (patch)
treef7af5116b41b7d697f9ac783bc647aba0d2902ab /lib/tasks/cache.rake
parent6a39888344a2478db022fdf8b5e41fd7625d83ab (diff)
parentade5e0b1ba04047c72cb0aff3d635a2cdaaab43c (diff)
downloadgitlab-ce-170fef0bd34a853bc2499cc7335705f73bc98edb.tar.gz
Merge branch 'dm-meer-blauw-op-straat' into 'master'
Enable (and disable) more RuboCops See merge request !9432
Diffstat (limited to 'lib/tasks/cache.rake')
-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 78ae187817a..d55923673b1 100644
--- a/lib/tasks/cache.rake
+++ b/lib/tasks/cache.rake
@@ -1,7 +1,7 @@
namespace :cache do
namespace :clear do
REDIS_CLEAR_BATCH_SIZE = 1000 # There seems to be no speedup when pushing beyond 1,000
- REDIS_SCAN_START_STOP = '0' # Magic value, see http://redis.io/commands/scan
+ REDIS_SCAN_START_STOP = '0'.freeze # Magic value, see http://redis.io/commands/scan
desc "GitLab | Clear redis cache"
task redis: :environment do