diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2011-05-17 10:17:51 -0700 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2011-05-17 10:17:51 -0700 |
commit | c2a5026ff53dabeefa0d6fbbde6f1c2102e56b34 (patch) | |
tree | 9abaf6d08e77bd2586c386a739cec5883fbdd0a9 /redis/client.py | |
parent | 2a3e05c66f2aecae4682da1fca0f627e7aca1ded (diff) | |
download | redis-py-c2a5026ff53dabeefa0d6fbbde6f1c2102e56b34.tar.gz |
connection pool is now a real pool. we no longer rely on threading.local for anything in redis-py. yaa!
Diffstat (limited to 'redis/client.py')
-rw-r--r-- | redis/client.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/redis/client.py b/redis/client.py index b38c5ad..122e9f7 100644 --- a/redis/client.py +++ b/redis/client.py @@ -1,5 +1,4 @@ import datetime -import threading import time import warnings from itertools import chain, imap, islice, izip, starmap @@ -112,7 +111,7 @@ def parse_config(response, **options): return response and pairs_to_dict(response) or {} return response == 'OK' -class Redis(threading.local): +class Redis(object): """ Implementation of the Redis protocol. |