We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e0660 commit e081024Copy full SHA for e081024
kazoo/protocol/connection.py
@@ -543,7 +543,7 @@ def _connect_loop(self, retry):
543
544
# Check for an empty hostlist, indicating none resolved
545
if len(host_ports) == 0:
546
- return STOP_CONNECTING
+ raise ForceRetryError('No host resolved. Reconnecting')
547
548
for host, hostip, port in host_ports:
549
if self.client._stopped.is_set():
0 commit comments