Andrew Bogott has submitted this change and it was merged.

Change subject: Increase Horizon timeout to 24 hours.
......................................................................


Increase Horizon timeout to 24 hours.

Bug:  T130621
Change-Id: If69d4ee046b89e7da219c31ab764d9270bf4d74b
---
M modules/openstack/templates/liberty/horizon/local_settings.py.erb
1 file changed, 7 insertions(+), 5 deletions(-)

Approvals:
  Andrew Bogott: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/openstack/templates/liberty/horizon/local_settings.py.erb 
b/modules/openstack/templates/liberty/horizon/local_settings.py.erb
index 578f225..bb5e9ca 100644
--- a/modules/openstack/templates/liberty/horizon/local_settings.py.erb
+++ b/modules/openstack/templates/liberty/horizon/local_settings.py.erb
@@ -27,12 +27,14 @@
 # https://docs.djangoproject.com/en/1.4/ref/settings/#secure-proxy-ssl-header
 # SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTOCOL', 'https')
 
-# SESSION_TIMEOUT is in seconds and defaults to 1800.  Change to two hours.
-#  It might be nice to increase this to a day, or even longer... but that's
-#  currently impossible due to
+# SESSION_TIMEOUT is in seconds and defaults to 1800.  Change to one day.
+#  Note that due to
 #   https://bugs.launchpad.net/django-openstack-auth/+bug/1562452
-SESSION_TIMEOUT = 7200
-SESSION_COOKIE_AGE = 7200
+#  this may be shortened to two hours.  As of 2016-04-04 there's a
+#  live hack in place on californium to alleviate that bug, but
+#  this will revert when we upgrade to M, and then start working again on N.
+SESSION_TIMEOUT = 86400
+SESSION_COOKIE_AGE = 86400
 CSRF_COOKIE_SECURE = True
 SESSION_COOKIE_SECURE = True
 

-- 
To view, visit https://gerrit.wikimedia.org/r/281531
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If69d4ee046b89e7da219c31ab764d9270bf4d74b
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to