예제 #1
0
 def to_blocking_client(self):
     """ Convert asynchronous client to blocking socket client
     """
     obj = StrictRedis()
     obj.connection_pool = _construct_connection_pool(self.connection_pool)
     return obj
예제 #2
0
파일: client.py 프로젝트: coldnight/gredis
 def to_blocking_client(self):
     """ Convert asynchronous client to blocking socket client
     """
     obj = StrictRedis()
     obj.connection_pool = _construct_connection_pool(self.connection_pool)
     return obj