summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorTom Nichols <tmnichols@gmail.com>2010-07-09 16:16:07 -0400
committerTom Nichols <tmnichols@gmail.com>2010-07-09 16:16:07 -0400
commit879dd11daa8056c8ef3863f45a31e544d76f735e (patch)
treedc70baabc65d848534dcc5d308da35ec856ded26 /sleekxmpp
parent969c4652a4f4b5ad3a095bc746f42472abe3171c (diff)
downloadslixmpp-879dd11daa8056c8ef3863f45a31e544d76f735e.tar.gz
slixmpp-879dd11daa8056c8ef3863f45a31e544d76f735e.tar.bz2
slixmpp-879dd11daa8056c8ef3863f45a31e544d76f735e.tar.xz
slixmpp-879dd11daa8056c8ef3863f45a31e544d76f735e.zip
reduced max quiesce delay to 6 minutes. We want to be fairly agressive here.
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 3b3163c7..89039428 100644
--- a/sleekxmpp/xmlstream/xmlstream.py
+++ b/sleekxmpp/xmlstream/xmlstream.py
@@ -44,7 +44,7 @@ class RestartStream(Exception):
stanza_extensions = {}
-RECONNECT_MAX_DELAY = 3600
+RECONNECT_MAX_DELAY = 360
RECONNECT_QUIESCE_FACTOR = 1.6180339887498948 # Phi
RECONNECT_QUIESCE_JITTER = 0.11962656472 # molar Planck constant times c, joule meter/mole
DEFAULT_KEEPALIVE = 300 # send a single byte every 5 minutes