martinrusev / django-redis-sessions

Session backend for Django that stores sessions in a Redis database
BSD 3-Clause "New" or "Revised" License
494 stars 106 forks source link

Set retry_on_timeout from settings #37

Closed saabeilin closed 8 years ago

saabeilin commented 8 years ago

In case of time-out, Redis client can automatically retry once if a retry_on_timeout parameter is set to True (it's False by default). It's useful sometimes and this PR introduces an option to configure it in settings.