Permalink
Browse files

2.4.12, redis-py is now fork-safe

  • Loading branch information...
1 parent 2b8103f commit 102ec0ff2071bbd5f4e21e2b580fc1c509fd4e15 @andymccurdy committed Apr 27, 2012
Showing with 5 additions and 1 deletion.
  1. +2 −0 CHANGES
  2. +1 −1 redis/__init__.py
  3. +2 −0 tests/connection_pool.py
View
@@ -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.
View
@@ -16,7 +16,7 @@
)
-__version__ = '2.4.11'
+__version__ = '2.4.12'
VERSION = tuple(map(int, __version__.split('.')))
__all__ = [
@@ -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):

0 comments on commit 102ec0f

Please sign in to comment.