Move Sahana sessions to database, avoids locking sessions on long-running requests, resolves #24

This commit is contained in:
Disassembler 2017-09-22 16:04:13 +02:00
parent 2f6bf8bf94
commit 1a40b8d132
2 changed files with 4 additions and 0 deletions

View File

@ -188,6 +188,8 @@ settings.frontpage.rss = [
# Memcache server to allow sharing of sessions across instances # Memcache server to allow sharing of sessions across instances
#settings.base.session_memcache = '127.0.0.1:11211' #settings.base.session_memcache = '127.0.0.1:11211'
settings.base.session_db = True
# UI options # UI options
# Should user be prompted to save before navigating away? # Should user be prompted to save before navigating away?
#settings.ui.navigate_away_confirm = False #settings.ui.navigate_away_confirm = False

View File

@ -188,6 +188,8 @@ settings.frontpage.rss = [
# Memcache server to allow sharing of sessions across instances # Memcache server to allow sharing of sessions across instances
#settings.base.session_memcache = '127.0.0.1:11211' #settings.base.session_memcache = '127.0.0.1:11211'
settings.base.session_db = True
# UI options # UI options
# Should user be prompted to save before navigating away? # Should user be prompted to save before navigating away?
#settings.ui.navigate_away_confirm = False #settings.ui.navigate_away_confirm = False