Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cdabce7a56 | ||
|
|
0ab534624a | ||
|
|
b3ce49788b |
10
main.go
10
main.go
@@ -126,7 +126,9 @@ func matrixrecv() error {
|
||||
logtr.Errorf("failed to mark state gathered @%s: %v", key, err)
|
||||
}
|
||||
}
|
||||
setNewZips(zips)
|
||||
if config.Get().Brokers.UseZips {
|
||||
setNewZips(zips)
|
||||
}
|
||||
}()
|
||||
func() {
|
||||
logtr.Verbosef("looking for states")
|
||||
@@ -150,7 +152,9 @@ func matrixrecv() error {
|
||||
logtr.Errorf("failed to mark state gathered @%s: %v", key, err)
|
||||
}
|
||||
}
|
||||
setNewStates(states)
|
||||
if !config.Get().Brokers.UseZips {
|
||||
setNewStates(states)
|
||||
}
|
||||
}()
|
||||
func() {
|
||||
logtr.Verbosef("looking for radius")
|
||||
@@ -371,7 +375,7 @@ func __main() error {
|
||||
logtr.Errorf("failed _main: %v", err)
|
||||
}
|
||||
if config.Get().Once {
|
||||
time.Sleep(3 * time.Second)
|
||||
time.Sleep(10 * time.Second)
|
||||
return err
|
||||
}
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user