summaryrefslogtreecommitdiff
path: root/addons/base_setup/data/base_setup_data.xml
diff options
context:
space:
mode:
authorChristophe Simonis <KangOl@users.noreply.github.com>2018-05-28 09:48:29 +0200
committerxmo-odoo <xmo@odoo.com>2018-05-28 09:48:29 +0200
commitf65528a74e8d3f11cadd8658f5495bba21338199 (patch)
tree15d9c79d757a2e369ca92edce84886d470113cb6 /addons/base_setup/data/base_setup_data.xml
parentcaa1ead00a2913c8e3010a8203b79189ed18259f (diff)
[IMP] http: avoid saving sessions for some endpoints
Endpoints can be explicitly marked as `save_session=False` (default is true across the board). In that case they will have an in-memory session (either the existing one or a brand new one) but the session won't be persisted to disk. Currently used for non-browser RPC endpoints: the APIs don't use cookies/sessions and we can't assume the RPC libraries keep cookies across calls. This means a new session is created and saved to disk for each RPC calls, for no useful reason.
Diffstat (limited to 'addons/base_setup/data/base_setup_data.xml')
0 files changed, 0 insertions, 0 deletions