Add anonymous redis session expiration configuration

This commit is contained in:
Patrick Tombez
2020-01-27 15:56:22 +01:00
parent 20c0138588
commit 5fcef3926f
3 changed files with 14 additions and 2 deletions
+2
View File
@@ -16,6 +16,8 @@ The storage of sessions in Redis is activated using environment variables.
* ``ODOO_SESSION_REDIS_PREFIX`` is the prefix for the session keys (optional)
* ``ODOO_SESSION_REDIS_EXPIRATION`` is the time in seconds before expiration of
the sessions (default is 7 days)
* ``ODOO_SESSION_REDIS_EXPIRATION_ANONYMOUS`` is the time in seconds before expiration of
the anonymous sessions (default is 3 hours)
The keys are set to ``session:<session id>``.