diff --git a/adapter/provider/provider.go b/adapter/provider/provider.go index 1a3850a6..4fc30a64 100644 --- a/adapter/provider/provider.go +++ b/adapter/provider/provider.go @@ -75,7 +75,7 @@ func (pp *proxySetProvider) Initial() error { pp.onUpdate(elm) if pp.healthCheck.auto() { - go pp.healthCheck.process() + defer func() { go pp.healthCheck.process() }() } return nil