fix: group filter touch provider

This commit is contained in:
adlyq
2022-06-07 17:19:25 +08:00
committed by Skyxim
parent e995003c27
commit 0a4570b55c
5 changed files with 16 additions and 26 deletions

View File

@@ -32,9 +32,7 @@ func (hc *HealthCheck) process() {
ticker := time.NewTicker(time.Duration(hc.interval) * time.Second)
go func() {
t := time.NewTicker(30 * time.Second)
<-t.C
t.Stop()
time.Sleep(30 * time.Second)
hc.check()
}()