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-01-20 10:49:23 +08:00
committed by Vincent Hatakeyama
parent 5e98c14de9
commit 23724e9f69
+1 -1
View File
@@ -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