Commit 9595ec03 authored by Marin Jankovski's avatar Marin Jankovski

Maybe rescue session_expire_delay by setting a default value.

parent 8c0f2aca
...@@ -7,6 +7,7 @@ include Gitlab::CurrentSettings ...@@ -7,6 +7,7 @@ include Gitlab::CurrentSettings
begin begin
Settings.gitlab['session_expire_delay'] = current_application_settings.session_expire_delay Settings.gitlab['session_expire_delay'] = current_application_settings.session_expire_delay
rescue rescue
Settings.gitlab['session_expire_delay'] ||= 10080
end end
unless Rails.env.test? unless Rails.env.test?
......
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