Add anonymous redis session expiration configuration

This commit is contained in:
Patrick Tombez
2020-01-29 16:36:35 +01:00
parent ede68ba355
commit abdd69a1b2
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>``.