summaryrefslogtreecommitdiff
path: root/redis/__init__.py
diff options
context:
space:
mode:
authorJames Arthur <thruflo@gmail.com>2013-04-18 18:29:25 +0100
committerJames Arthur <thruflo@gmail.com>2013-04-18 18:29:25 +0100
commit6fb7824ff2dc2f070e3420fad9cdcc6ad59337d5 (patch)
treef7588ab22df2516f71276043ddddfcefea243a9d /redis/__init__.py
parent9e0749af6f8a31601cce27e77c2e38b0df0ca443 (diff)
downloadredis-py-6fb7824ff2dc2f070e3420fad9cdcc6ad59337d5.tar.gz
connection: add an optional `BlockingConnectionPool` class.
* implements the same api as the default `ConnectionPool` * blocks for a specified timeout when getting a connection if no connections are available
Diffstat (limited to 'redis/__init__.py')
-rw-r--r--redis/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis/__init__.py b/redis/__init__.py
index 4b10834..5d9f3f1 100644
--- a/redis/__init__.py
+++ b/redis/__init__.py
@@ -1,5 +1,6 @@
from redis.client import Redis, StrictRedis
from redis.connection import (
+ BlockingConnectionPool,
ConnectionPool,
Connection,
UnixDomainSocketConnection