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:
Fai
2024-05-12 17:16:50 -04:00
parent 5b03cc4d55
commit eba1a6de58
+1 -1
View File
@@ -117,7 +117,7 @@ class RedisSessionStore(SessionStore):
session.session_token = security.compute_session_token(session, env) session.session_token = security.compute_session_token(session, env)
self.save(session) self.save(session)
def vacuum(self): def vacuum(self, *args, **kwargs):
"""Do not garbage collect the sessions """Do not garbage collect the sessions
Redis keys are automatically cleaned at the end of their Redis keys are automatically cleaned at the end of their