This commit is contained in:
Cort Buffington 2019-05-09 09:32:06 -05:00
commit e9f3e1cb31
3 changed files with 10 additions and 5 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ config.py
*.csv
.DS_Store
*.log
*.json

View File

@ -1,16 +1,19 @@
{
"results": [
{
"tgid": 3120,
"name": "Kansas Statewide",
"id": "3120",
"callsign": "Kansas Statewide"
},
{
"tgid": 31201,
"name": "BYRG",
"id": "31201",
"callsign": "BYRG"
},
{
"tgid": 310,
"name": "Kerchunk 310",
"id": "310",
"callsign": "Kerchunk 310"
}
]
}

View File

@ -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())