fix: 当初始化失败时,定时更新失效

This commit is contained in:
gVisor bot 2022-06-04 19:15:30 +08:00
parent 5953a4cfb5
commit 0a50209328

View File

@ -75,7 +75,7 @@ func (pp *proxySetProvider) Initial() error {
pp.onUpdate(elm) pp.onUpdate(elm)
if pp.healthCheck.auto() { if pp.healthCheck.auto() {
go pp.healthCheck.process() defer func() { go pp.healthCheck.process() }()
} }
return nil return nil