fix: 当初始化失败时,定时更新失效
This commit is contained in:
parent
3827e00b54
commit
8ff7e180a4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue