Don't wait to retry connection if out of DNS records.
This commit is contained in:
parent
5ae6c8f8fa
commit
422e77ae40
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ class XMLStream(object):
|
|||
log.debug("No remaining DNS records to try.")
|
||||
self.dns_answers = None
|
||||
if reattempt:
|
||||
self.reconnect_delay = delay
|
||||
self.reconnect_delay = None
|
||||
return False
|
||||
|
||||
af = Socket.AF_INET
|
||||
|
|
Loading…
Reference in a new issue