Beispiel #1
0
 def __init__(self, connection_pool, max_concurrency=None,
              auto_batch=True):
     RoutingBaseClient.__init__(self, connection_pool=connection_pool,
                                auto_batch=auto_batch)
     # careful.  If you introduce any other variables here, then make
     # sure that FanoutClient.target still works correctly!
     self._max_concurrency = max_concurrency
     self._cb_poll = poll()
Beispiel #2
0
 def __init__(self, connection_pool, max_concurrency=None,
              auto_batch=True):
     RoutingBaseClient.__init__(self, connection_pool=connection_pool,
                                auto_batch=auto_batch)
     # careful.  If you introduce any other variables here, then make
     # sure that FanoutClient.target still works correctly!
     self._max_concurrency = max_concurrency
     self._cb_poll = poll()