kopia lustrzana https://github.com/cyoung/stratux
Update comment.
rodzic
cc418aa797
commit
e23ce3f25d
|
@ -321,8 +321,8 @@ func sdrWatcher() {
|
||||||
|
|
||||||
// UAT specific handling
|
// UAT specific handling
|
||||||
|
|
||||||
// Shutdown UAT for 30 seconds, check every 60 seconds if the count is 0.
|
// Shutdown UAT for 50 seconds, check every 60 seconds if the count is 0.
|
||||||
if time.Since(lastUATCheck) >= 1 * time.Minute {
|
if time.Since(lastUATCheck) >= 1*time.Minute {
|
||||||
if UATDev != nil && globalStatus.UAT_messages_last_minute == 0 {
|
if UATDev != nil && globalStatus.UAT_messages_last_minute == 0 {
|
||||||
log.Printf("Pausing UAT listening for 50 seconds - none received.\n")
|
log.Printf("Pausing UAT listening for 50 seconds - none received.\n")
|
||||||
UATDev.shutdown()
|
UATDev.shutdown()
|
||||||
|
|
Ładowanie…
Reference in New Issue