diff options
author | andy <andy@andymccurdy.com> | 2012-04-27 15:40:55 -0700 |
---|---|---|
committer | andy <andy@andymccurdy.com> | 2012-04-27 15:40:55 -0700 |
commit | 102ec0ff2071bbd5f4e21e2b580fc1c509fd4e15 (patch) | |
tree | 9a062eba5d261426d1c45165c2212a2f2c7fac01 | |
parent | 2b8103fef8a2a8772b0b0e4ac4a634157c77f33d (diff) | |
download | redis-py-2.4.12.tar.gz |
2.4.12, redis-py is now fork-safe2.4.12
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | redis/__init__.py | 2 | ||||
-rw-r--r-- | tests/connection_pool.py | 2 |
3 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,5 @@ +* 2.4.12 + * ConnectionPool is now fork-safe. Thanks Josiah Carson for the patch. * 2.4.11 * AuthenticationError will now be correctly raised if an invalid password is supplied. diff --git a/redis/__init__.py b/redis/__init__.py index ec1db1b..8fbff1d 100644 --- a/redis/__init__.py +++ b/redis/__init__.py @@ -16,7 +16,7 @@ from redis.exceptions import ( ) -__version__ = '2.4.11' +__version__ = '2.4.12' VERSION = tuple(map(int, __version__.split('.'))) __all__ = [ diff --git a/tests/connection_pool.py b/tests/connection_pool.py index 8252cee..54cbf05 100644 --- a/tests/connection_pool.py +++ b/tests/connection_pool.py @@ -1,9 +1,11 @@ +import os import redis import unittest class DummyConnection(object): def __init__(self, **kwargs): self.kwargs = kwargs + self.pid = os.getpid() class ConnectionPoolTestCase(unittest.TestCase): def get_pool(self, connection_info=None, max_connections=None): |