Re-add connection delay after exhausting DNS records.
This commit is contained in:
parent
8c2ece3bca
commit
aebcf6ff82
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ class XMLStream(object):
|
|||
log.debug("No remaining DNS records to try.")
|
||||
self.dns_answers = None
|
||||
if reattempt:
|
||||
self.reconnect_delay = None
|
||||
self.reconnect_delay = delay
|
||||
return False
|
||||
|
||||
af = Socket.AF_INET
|
||||
|
|
Loading…
Reference in a new issue