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 authored and GitHub committed 2024-08-27 11:45:44 +02:00
commit 471fe15b2b
1 file changed
+1 -1
+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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.