summaryrefslogtreecommitdiff
path: root/config/initializers
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-23 07:00:01 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-23 07:00:01 +0000
commit7fab63b41f1a28cc5efa6b9afef30170e41c94ea (patch)
treef6ad28667f3cca9faf56d5a519d045e42d864fe0 /config/initializers
parent14c96749947b1c5b1d2b46d8d7396544a620840a (diff)
parent8d78662e69a11dc82916793d97aba36dacae1440 (diff)
downloadgitlab-ce-7fab63b41f1a28cc5efa6b9afef30170e41c94ea.tar.gz
Merge branch 'namespace_redis_cache' into 'master'
Give the Rails cache its own Redis namespace
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/session_store.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb
index f80b67a554b..5fe5270236b 100644
--- a/config/initializers/session_store.rb
+++ b/config/initializers/session_store.rb
@@ -2,7 +2,7 @@
Gitlab::Application.config.session_store(
:redis_store, # Using the cookie_store would enable session replay attacks.
- servers: Gitlab::Application.config.cache_store.last, # re-use the Redis config from the Rails cache store
+ servers: Gitlab::Application.config.cache_store[1], # re-use the Redis config from the Rails cache store
key: '_gitlab_session',
secure: Gitlab.config.gitlab.https,
httponly: true,