summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-07-29 20:16:57 -0400
committerLance Stout <lancestout@gmail.com>2010-07-29 20:16:57 -0400
commita49f511a2f844bbab261b5ce84257f026e1eb37c (patch)
tree375f4b328eb18dd74e95d9302b76244f2f5ee0ee /sleekxmpp
parent25f43bd21906cb13df137b926dc62ca23bd97df0 (diff)
downloadslixmpp-a49f511a2f844bbab261b5ce84257f026e1eb37c.tar.gz
slixmpp-a49f511a2f844bbab261b5ce84257f026e1eb37c.tar.bz2
slixmpp-a49f511a2f844bbab261b5ce84257f026e1eb37c.tar.xz
slixmpp-a49f511a2f844bbab261b5ce84257f026e1eb37c.zip
Added RESPONSE_TIMEOUT constant to sleekxmpp.xmlstream to serve as a single place to specify a default timeout value when waiting for a stanza response.
Diffstat (limited to 'sleekxmpp')
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py
index 6ce89c25..94fed64a 100644
--- a/sleekxmpp/xmlstream/xmlstream.py
+++ b/sleekxmpp/xmlstream/xmlstream.py
@@ -24,6 +24,7 @@ import copy
import xml.sax.saxutils
from . import scheduler
+RESPONSE_TIMEOUT = 10
HANDLER_THREADS = 1
ssl_support = True