diff options
author | Lance Stout <lancestout@gmail.com> | 2012-07-29 17:26:04 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-07-29 17:26:04 -0700 |
commit | 422e77ae40b0e0d263e437b3fde0c1b2f5821217 (patch) | |
tree | d59637db476f597761f8ad283013b8b669af8ec5 /sleekxmpp/xmlstream/xmlstream.py | |
parent | 5ae6c8f8faefef3bd0c7d8e4caf0a2071d76382d (diff) | |
download | slixmpp-422e77ae40b0e0d263e437b3fde0c1b2f5821217.tar.gz slixmpp-422e77ae40b0e0d263e437b3fde0c1b2f5821217.tar.bz2 slixmpp-422e77ae40b0e0d263e437b3fde0c1b2f5821217.tar.xz slixmpp-422e77ae40b0e0d263e437b3fde0c1b2f5821217.zip |
Don't wait to retry connection if out of DNS records.
Diffstat (limited to 'sleekxmpp/xmlstream/xmlstream.py')
-rw-r--r-- | sleekxmpp/xmlstream/xmlstream.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py index a0b6e4c2..4cc9e169 100644 --- a/sleekxmpp/xmlstream/xmlstream.py +++ b/sleekxmpp/xmlstream/xmlstream.py @@ -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 |