From aebcf6ff828bf179af95df38d7f8ffa54f289c36 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Tue, 7 Aug 2012 01:38:15 -0700 Subject: Re-add connection delay after exhausting DNS records. --- sleekxmpp/xmlstream/xmlstream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py index 216c0ed3..f72171a1 100644 --- a/sleekxmpp/xmlstream/xmlstream.py +++ b/sleekxmpp/xmlstream/xmlstream.py @@ -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 -- cgit v1.2.3