Andrew Bogott has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/281531

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, 6 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/31/281531/1

diff --git a/modules/openstack/templates/liberty/horizon/local_settings.py.erb 
b/modules/openstack/templates/liberty/horizon/local_settings.py.erb
index 578f225..0e8c474 100644
--- a/modules/openstack/templates/liberty/horizon/local_settings.py.erb
+++ b/modules/openstack/templates/liberty/horizon/local_settings.py.erb
@@ -27,11 +27,13 @@
 # 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
+#  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 = 7200
 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: newchange
Gerrit-Change-Id: If69d4ee046b89e7da219c31ab764d9270bf4d74b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>

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

Reply via email to