fix: only force health check compatible providers
This commit is contained in:
parent
7979eb654f
commit
d85d8ac13f
1 changed files with 3 additions and 1 deletions
|
@ -310,7 +310,9 @@ func loadProxyProvider(proxyProviders map[string]provider.ProxyProvider) {
|
|||
go func() {
|
||||
defer func() { <-ch; wg.Done() }()
|
||||
loadProvider(proxyProvider)
|
||||
if proxyProvider.VehicleType()==provider.Compatible{
|
||||
go proxyProvider.HealthCheck()
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue