changeset 2497:38f472dbfcf0

core (client): set default timeout of IQ to 60 seconds
author Goffi <goffi@goffi.org>
date Wed, 28 Feb 2018 18:28:39 +0100 (2018-02-28)
parents 769e8d9d2438
children d6de69da3dd4
files src/core/xmpp.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/xmpp.py	Wed Feb 28 18:28:39 2018 +0100
+++ b/src/core/xmpp.py	Wed Feb 28 18:28:39 2018 +0100
@@ -263,7 +263,7 @@
 
     ## sending ##
 
-    def IQ(self, type_=u'set', timeout=None):
+    def IQ(self, type_=u'set', timeout=60):
         """shortcut to create an IQ element managing deferred
 
         @param type_(unicode): IQ type ('set' or 'get')