提交 102ec0ff 编写于 作者: A andy

2.4.12, redis-py is now fork-safe

上级 2b8103fe
* 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.
......
......@@ -16,7 +16,7 @@ from redis.exceptions import (
)
__version__ = '2.4.11'
__version__ = '2.4.12'
VERSION = tuple(map(int, __version__.split('.')))
__all__ = [
......
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):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册