diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-04-07 15:42:07 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-04-07 15:42:07 +0200 |
commit | cf669551f69edd66913d22c96cf1de1302e7990e (patch) | |
tree | 68cbc6a0e366487883d5ca8637fd4dbf0f241e63 /lib/gitlab | |
parent | 3137f61a5558d1b38dd9f607263d5a21b61deb2d (diff) | |
download | gitlab-ce-cf669551f69edd66913d22c96cf1de1302e7990e.tar.gz |
Put CACHE_NAMESPACE in the Gitlab::Redis module
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/redis.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/redis.rb b/lib/gitlab/redis.rb index 8c3aea2627c..319447669dc 100644 --- a/lib/gitlab/redis.rb +++ b/lib/gitlab/redis.rb @@ -1,5 +1,7 @@ module Gitlab class Redis + CACHE_NAMESPACE = 'cache:gitlab' + attr_reader :url # To be thread-safe we must be careful when writing the class instance |