changeset 993:641664553a41

server: changed session timeout from 5 min to 2h, avoiding undesired disconnection on Libervia pages. fix 210
author Goffi <goffi@goffi.org>
date Wed, 13 Dec 2017 00:35:56 +0100
parents 08e0d1f8542c
children b92b06f023cb
files src/server/constants.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/server/constants.py	Tue Dec 05 02:56:27 2017 +0100
+++ b/src/server/constants.py	Wed Dec 13 00:35:56 2017 +0100
@@ -26,7 +26,7 @@
     APP_NAME_FILE = "libervia"
     SERVICE_PROFILE = 'libervia'  # the SàT profile that is used for exporting the service
 
-    SESSION_TIMEOUT = 300  # Session's timeout, after that the user will be disconnected
+    SESSION_TIMEOUT = 7200  # Session's timeout, after that the user will be disconnected
     HTML_DIR = "html/"
     THEMES_DIR = "themes/"
     THEMES_URL = "themes"