mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-23 18:04:34 +00:00
Add anonymous redis session expiration configuration
This commit is contained in:
@@ -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>``.
|
||||
|
||||
Reference in New Issue
Block a user