fix: only force health check compatible providers

This commit is contained in:
gVisor bot 2023-11-13 08:06:51 +00:00
parent abc0a841a4
commit 216832e76d

View File

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