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 *.csv
.DS_Store .DS_Store
*.log *.log
*.json

View File

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

View File

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