Add debug output for NetworkMonitor
This commit is contained in:
parent
f82cd95f2c
commit
0fba2b8a58
|
@ -2500,6 +2500,7 @@ class Interface:
|
||||||
# same state, not only on change.
|
# same state, not only on change.
|
||||||
return
|
return
|
||||||
self.network_state = connected
|
self.network_state = connected
|
||||||
|
log.debug('NetworkMonitor state change: %s', connected)
|
||||||
if connected:
|
if connected:
|
||||||
for connection in app.connections.values():
|
for connection in app.connections.values():
|
||||||
if connection.connected <= 0 and connection.time_to_reconnect:
|
if connection.connected <= 0 and connection.time_to_reconnect:
|
||||||
|
|
Loading…
Reference in New Issue