Skip to content

Commit

Permalink
Merge pull request #454 from odoo-contrib/patch-1
Browse files Browse the repository at this point in the history
[16.0][FIX] Add arguments to session vacuum method
  • Loading branch information
gurneyalex authored Aug 27, 2024
2 parents 38a3477 + eba1a6d commit bd561bc
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 bd561bc

Please sign in to comment.