martinrusev/django-redis-sessions — Issue #3: Automatic Redis Session expiry?
Author: fric
Created: 2011-11-23 14:45:57+00:00
State: open

Hi Martin, it would be great if you could add automatic Redis key expiry. Currently you do encode the session expiry in the key but the key does not expire in Redis itself, so sessions clutter the database over time.
Note that the default "manage.py cleanup" doesn't touch the Redis sessions as it only works on the sessions database tables. (Django bug, IMHO!)
Should be a no-brainer... - Thanks, Felix