self-ping: increase timeout to 60s
This commit is contained in:
parent
a3cefc7af3
commit
304801ebe0
1 changed files with 1 additions and 1 deletions
|
@ -1690,7 +1690,7 @@ class MucTab(ChatTab):
|
||||||
self.core.xmpp.plugin['xep_0199'].send_ping(jid=to,
|
self.core.xmpp.plugin['xep_0199'].send_ping(jid=to,
|
||||||
callback=self.on_self_ping_result,
|
callback=self.on_self_ping_result,
|
||||||
timeout_callback=self.on_self_ping_failed,
|
timeout_callback=self.on_self_ping_failed,
|
||||||
timeout=10)
|
timeout=60)
|
||||||
|
|
||||||
def on_self_ping_result(self, iq):
|
def on_self_ping_result(self, iq):
|
||||||
if iq["type"] == "error":
|
if iq["type"] == "error":
|
||||||
|
|
Loading…
Reference in a new issue