mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-12-22 23:57:26 +08:00
fix: only force health check compatible providers
This commit is contained in:
parent
abc0a841a4
commit
216832e76d
@ -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()
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user