Mercurial > gemma
comparison example_conf.toml @ 2639:0db742c7813d
Make session timeout configurable
Useful e.g. for testing, long running scripts, coping with a client
clock which is more than 3 hours fast and maybe more.
Even configuring a timeout <= 0 might be useful to actually prevent
clients from doing anything.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 14 Mar 2019 11:15:43 +0100 |
parents | 783c1454ab47 |
children | 7ebd4154894e |
comparison
equal
deleted
inserted
replaced
2638:6c1730fc3dc1 | 2639:0db742c7813d |
---|---|
12 # Where to find the data of the web client (SPA) to serve: | 12 # Where to find the data of the web client (SPA) to serve: |
13 web = "./web" | 13 web = "./web" |
14 | 14 |
15 # File to persist session data: | 15 # File to persist session data: |
16 sessions = "/tmp/gemma_session.data" | 16 sessions = "/tmp/gemma_session.data" |
17 | |
18 # Duration until sessions expire if not renewed | |
19 #session-timeout = "3h" | |
17 | 20 |
18 # ---------------------------------------------------------------------- | 21 # ---------------------------------------------------------------------- |
19 # Database: | 22 # Database: |
20 | 23 |
21 # DB connection configuration: | 24 # DB connection configuration: |