mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-13 03:41: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)
|
||||
|
||||
# Start a timout loop
|
||||
timeout = task.LoopingCall(timeout_clients)
|
||||
timeout.start(10)
|
||||
if CLIENT_TIMEOUT > 0:
|
||||
timeout = task.LoopingCall(timeout_clients)
|
||||
timeout.start(10)
|
||||
|
||||
# Connect to HBlink
|
||||
reactor.connectTCP(HBLINK_IP, HBLINK_PORT, reportClientFactory())
|
||||
|
Loading…
Reference in New Issue
Block a user