Permalink
Browse files

Fix redis connection pool sharing.

  • Loading branch information...
1 parent b45b10d commit 309045e96dd3f97ff39d7d2e91ae521a65b76f2b @dairiki dairiki committed Nov 23, 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 309045e

Please sign in to comment.