mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-10-21 21:31:52 +00:00
ODOO_SESSION_REDIS_EXPIRATION_ABSOLUTE=1 makes authenticated sessions expire ODOO_SESSION_REDIS_EXPIRATION seconds after the login, whatever the activity. Default mode: SET … EX instead of SET then EXPIRE, so a failed EXPIRE can no longer leave a key without TTL. rotate() also resets should_rotate, as odoo.http.FilesystemSessionStore does.
24 lines
624 B
Python
24 lines
624 B
Python
# Copyright 2016-2021 Camptocamp SA
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)
|
|
|
|
|
|
{
|
|
"name": "Sessions in Redis",
|
|
"summary": "Store web sessions in Redis",
|
|
"version": "17.0.1.1.0",
|
|
"author": "Camptocamp,Odoo Community Association (OCA)",
|
|
"license": "AGPL-3",
|
|
"category": "Extra Tools",
|
|
"depends": ["base"],
|
|
"excludes": [
|
|
# OCA/server-auth
|
|
"auth_session_timeout",
|
|
],
|
|
"external_dependencies": {
|
|
"python": ["redis>=3.5"],
|
|
},
|
|
"website": "https://github.com/camptocamp/odoo-cloud-platform",
|
|
"data": [],
|
|
"installable": True,
|
|
}
|