Mercurial > gemma
diff 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 |
line wrap: on
line diff
--- a/example_conf.toml Thu Mar 14 10:50:18 2019 +0100 +++ b/example_conf.toml Thu Mar 14 11:15:43 2019 +0100 @@ -15,6 +15,9 @@ # File to persist session data: sessions = "/tmp/gemma_session.data" +# Duration until sessions expire if not renewed +#session-timeout = "3h" + # ---------------------------------------------------------------------- # Database: