diff options
author | Dana Powers <dana.powers@gmail.com> | 2017-03-07 11:14:49 -0800 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2017-03-07 11:14:49 -0800 |
commit | 91cb3158e5858152daffe46006bdb321f6a7a5bf (patch) | |
tree | bbba02492f6f37814cc268481e663aaa1f5fedbe /kafka/client_async.py | |
parent | 6ad52f7c95f6a26150736d1a4493cdbb890a3c64 (diff) | |
download | kafka-python-91cb3158e5858152daffe46006bdb321f6a7a5bf.tar.gz |
Fixup comment reference to _maybe_connect
Diffstat (limited to 'kafka/client_async.py')
-rw-r--r-- | kafka/client_async.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/client_async.py b/kafka/client_async.py index 0560ec0..9e30e09 100644 --- a/kafka/client_async.py +++ b/kafka/client_async.py @@ -734,7 +734,7 @@ class KafkaClient(object): elif self._can_connect(node_id): log.debug("Initializing connection to node %s for metadata request", node_id) self._maybe_connect(node_id) - # If initiateConnect failed immediately, this node will be put into blackout and we + # If _maybe_connect failed immediately, this node will be put into blackout and we # should allow immediately retrying in case there is another candidate node. If it # is still connecting, the worst case is that we end up setting a longer timeout # on the next round and then wait for the response. |