core (client): fixed maximum connection tries to 3
This commit is contained in:
parent
73aa1d1f79
commit
942fdc7fa1
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ class SatXMPPClient(client.XMPPClient):
|
|||
# If no SRV record is found, the host is directly extracted from the JID.
|
||||
client.XMPPClient.__init__(self, user_jid, password, host or None, port or C.XMPP_C2S_PORT)
|
||||
self.factory.clientConnectionLost = self.connectionLost
|
||||
self.factory.maxRetries = 2
|
||||
self.__connected = False
|
||||
self.profile = profile
|
||||
self.host_app = host_app
|
||||
|
|
|
|||
Loading…
Reference in a new issue