From 23724e9f699db8e81a4e3931d1255a3d7e8e1d10 Mon Sep 17 00:00:00 2001 From: Fai Date: Sat, 20 Jan 2024 10:49:23 +0800 Subject: [PATCH] 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 --- session_redis/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session_redis/session.py b/session_redis/session.py index 2b6bfba..1ac842c 100644 --- a/session_redis/session.py +++ b/session_redis/session.py @@ -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