summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-07-29 17:26:04 -0700
committerLance Stout <lancestout@gmail.com>2012-07-29 17:26:04 -0700
commit422e77ae40b0e0d263e437b3fde0c1b2f5821217 (patch)
treed59637db476f597761f8ad283013b8b669af8ec5 /sleekxmpp
parent5ae6c8f8faefef3bd0c7d8e4caf0a2071d76382d (diff)
downloadslixmpp-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')
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py2
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