Commit eabbb7be authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'session_timeout' into 'master'

Expire Rack sessions after 1 week

This has the side effect of preventing Redis from clogging up with old sessions.

See merge request !1042
parents 9b75d99d 99b81be8
v 7.3.0 v 7.3.0
- Always set the 'origin' remote in satellite actions - Always set the 'origin' remote in satellite actions
- Expire Rack sessions after 1 week
v 7.2.0 v 7.2.0
- Explore page - Explore page
......
...@@ -6,5 +6,6 @@ Gitlab::Application.config.session_store( ...@@ -6,5 +6,6 @@ Gitlab::Application.config.session_store(
key: '_gitlab_session', key: '_gitlab_session',
secure: Gitlab.config.gitlab.https, secure: Gitlab.config.gitlab.https,
httponly: true, httponly: true,
expire_after: 1.week,
path: (Rails.application.config.relative_url_root.nil?) ? '/' : Rails.application.config.relative_url_root path: (Rails.application.config.relative_url_root.nil?) ? '/' : Rails.application.config.relative_url_root
) )
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment