mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-23 18:04:34 +00:00
Add arguments to session vacuum method
`Session.vacuum` method contains extra arguments since this PR https://github.com/odoo/odoo/pull/122888 accept parameters to adapter this change
This commit is contained in:
@@ -117,7 +117,7 @@ class RedisSessionStore(SessionStore):
|
||||
session.session_token = security.compute_session_token(session, env)
|
||||
self.save(session)
|
||||
|
||||
def vacuum(self):
|
||||
def vacuum(self, *args, **kwargs):
|
||||
"""Do not garbage collect the sessions
|
||||
|
||||
Redis keys are automatically cleaned at the end of their
|
||||
|
||||
Reference in New Issue
Block a user