summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-12-16 12:43:38 +0100
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-12-16 12:43:38 +0100
commit49f4fe8c6ea776825461a1d18da27a198fb95b55 (patch)
tree4289d94aaf3de0b011cfed2433ed288086e2a2bd /config
parent764eaedf810af307d68d5e6b552988db1cb15f54 (diff)
downloadgitlab-ce-49f4fe8c6ea776825461a1d18da27a198fb95b55.tar.gz
Fix copy-paste error in comment
Diffstat (limited to 'config')
-rw-r--r--config/initializers/redis-store-fix-expiry.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/redis-store-fix-expiry.rb b/config/initializers/redis-store-fix-expiry.rb
index 813d4c76c81..e3139098018 100644
--- a/config/initializers/redis-store-fix-expiry.rb
+++ b/config/initializers/redis-store-fix-expiry.rb
@@ -4,7 +4,7 @@ module Gitlab
class Redis
class Store
module Namespace
- # Redis::Store#expire in redis-store 1.1.4 does not respect namespaces;
+ # Redis::Store#setex in redis-store 1.1.4 does not respect namespaces;
# this new method does.
def setex(key, expires_in, value, options=nil)
namespace(key) { |key| super(key, expires_in, value) }