fix: health check at startup

This commit is contained in:
Skyxim 2023-11-13 15:42:31 +08:00
parent 2577dd3af4
commit 7979eb654f

View File

@ -310,6 +310,7 @@ func loadProxyProvider(proxyProviders map[string]provider.ProxyProvider) {
go func() {
defer func() { <-ch; wg.Done() }()
loadProvider(proxyProvider)
go proxyProvider.HealthCheck()
}()
}