core (client): set default timeout of IQ to 60 seconds

This commit is contained in:
Goffi 2018-02-28 18:28:39 +01:00
commit 0d5b8b5a84

View file

@ -263,7 +263,7 @@ class SatXMPPEntity(object):
## 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')