Merge pull request #464 from xcgd/17.0-session_redis-fix-vacuum

[17.0][FIX] session_redis: fix vacuum
This commit is contained in:
Alexandre Fayolle
2024-08-27 11:45:44 +02:00
committed by GitHub
co-authored by GitHub
+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