Skip to content

Commit

Permalink
Add arguments to session vacuum method
Browse files Browse the repository at this point in the history
`Session.vacuum` method contains extra arguments since this PR odoo/odoo#122888

accept parameters to adapter this change
  • Loading branch information
kafai-lam committed May 12, 2024
1 parent 5b03cc4 commit eba1a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session_redis/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def rotate(self, session, env):
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
Expand Down

0 comments on commit eba1a6d

Please sign in to comment.