mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2025-09-05 06:37:51 -04:00
Merge branch 'master' of https://github.com/n0mjs710/HBmonitor
This commit is contained in:
commit
e9f3e1cb31
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ config.py
|
|||||||
*.csv
|
*.csv
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.log
|
*.log
|
||||||
|
*.json
|
||||||
|
@ -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"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -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…
x
Reference in New Issue
Block a user