BUG Fix: reconnect time > 0 toegevoegd
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -148,7 +148,7 @@ After this time a logout is sent and a new connection is created.
|
||||
|
||||
This prevents the 10 minute server timeout"""
|
||||
ct = time.time() - self._connecttime
|
||||
if ct > self.reconnecttime:
|
||||
if (self.reconnecttime > 0) and (ct > self.reconnecttime):
|
||||
self.log.debug("LmwSip.reconnectcheck: reconnect after %i seconds" % ct)
|
||||
#
|
||||
# Reset connect time to prevent reconnects
|
||||
|
Reference in New Issue
Block a user