Permalink
Browse files

Merge pull request #22 from dairiki/bug.connection-pooling

Fix redis connection pool sharing.
  • Loading branch information...
2 parents b45b10d + 309045e commit 2792fd7ee5ef0ba95d0a4c03e11dd79eb021504d @didip committed Nov 24, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 beaker_extensions/redis_.py
@@ -13,6 +13,9 @@
log = logging.getLogger(__name__)
class RedisManager(NoSqlManager):
+
+ connection_pools = {}
+
def __init__(self,
namespace,
url=None,
@@ -21,7 +24,6 @@ def __init__(self,
**params):
self.db = params.pop('db', None)
self.dbpass = params.pop('password', None)
- self.connection_pools = {}
NoSqlManager.__init__(self,
namespace,
url=url,

0 comments on commit 2792fd7

Please sign in to comment.