Re-add connection delay after exhausting DNS records.
This commit is contained in:
parent
8c2ece3bca
commit
aebcf6ff82
@ -479,7 +479,7 @@ class XMLStream(object):
|
|||||||
log.debug("No remaining DNS records to try.")
|
log.debug("No remaining DNS records to try.")
|
||||||
self.dns_answers = None
|
self.dns_answers = None
|
||||||
if reattempt:
|
if reattempt:
|
||||||
self.reconnect_delay = None
|
self.reconnect_delay = delay
|
||||||
return False
|
return False
|
||||||
|
|
||||||
af = Socket.AF_INET
|
af = Socket.AF_INET
|
||||||
|
Loading…
x
Reference in New Issue
Block a user