Skip to content

Commit

Permalink
2.4.12, redis-py is now fork-safe
Browse files Browse the repository at this point in the history
  • Loading branch information
andymccurdy committed Apr 27, 2012
1 parent 2b8103f commit 102ec0f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion redis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
)


__version__ = '2.4.11'
__version__ = '2.4.12'
VERSION = tuple(map(int, __version__.split('.')))

__all__ = [
Expand Down
2 changes: 2 additions & 0 deletions tests/connection_pool.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down

0 comments on commit 102ec0f

Please sign in to comment.