Re-add connection delay after exhausting DNS records.

This commit is contained in:
Lance Stout 2012-08-07 01:38:15 -07:00
parent 8c2ece3bca
commit aebcf6ff82

View file

@ -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