提交 eabbb7be 编写于 作者: D 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
v 7.3.0
- Always set the 'origin' remote in satellite actions
- Expire Rack sessions after 1 week
v 7.2.0
- Explore page
......
......@@ -6,5 +6,6 @@ Gitlab::Application.config.session_store(
key: '_gitlab_session',
secure: Gitlab.config.gitlab.https,
httponly: true,
expire_after: 1.week,
path: (Rails.application.config.relative_url_root.nil?) ? '/' : Rails.application.config.relative_url_root
)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册