mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-13 20:01:45 -05:00
Disable timeout for 0 value
This commit is contained in:
parent
69f965ebf7
commit
cbb90b6b6f
@ -660,8 +660,9 @@ if __name__ == '__main__':
|
|||||||
update_stats.start(FREQUENCY)
|
update_stats.start(FREQUENCY)
|
||||||
|
|
||||||
# Start a timout loop
|
# Start a timout loop
|
||||||
timeout = task.LoopingCall(timeout_clients)
|
if CLIENT_TIMEOUT > 0:
|
||||||
timeout.start(10)
|
timeout = task.LoopingCall(timeout_clients)
|
||||||
|
timeout.start(10)
|
||||||
|
|
||||||
# Connect to HBlink
|
# Connect to HBlink
|
||||||
reactor.connectTCP(HBLINK_IP, HBLINK_PORT, reportClientFactory())
|
reactor.connectTCP(HBLINK_IP, HBLINK_PORT, reportClientFactory())
|
||||||
|
Loading…
Reference in New Issue
Block a user