- Reset retrycount if we auth successfully, so we can start retrying at 10 seconds instead of 15 minutes. This is an old bug, but wasn't noticable with 10 vs 20 seconds.
This commit is contained in:
parent
d3cebabbbd
commit
7fbb4279ac
|
@ -453,6 +453,7 @@ class Connection(ConnectionHandlers):
|
|||
if auth:
|
||||
self.last_io = gajim.idlequeue.current_time()
|
||||
self.connected = 2
|
||||
self.retrycount = 0
|
||||
if self.on_connect_auth:
|
||||
self.on_connect_auth(con)
|
||||
self.on_connect_auth = None
|
||||
|
|
Loading…
Reference in New Issue