martinrusev / django-redis-sessions

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

Add setting to use existing ConnectionPool instance #27

Closed jeffsmohan closed 8 years ago

jeffsmohan commented 10 years ago

In order to share a connection pool and minimize open connections from within your processes, this adds the ability to specify an existing ConnectionPool for django-redis-sessions to use.

martinrusev commented 10 years ago

I will make some improvements to the try, except, if else insanity in session.py, then will merge it with the master branch and push to Pypi

jeffsmohan commented 10 years ago

Great, thanks!