1
0
mirror of https://github.com/MetaCubeX/mihomo.git synced 2026-10-10 12:13:10 +08:00

fix: only force health check compatible providers

This commit is contained in:
Skyxim
2023-11-13 08:06:51 +00:00
parent 7979eb654f
commit d85d8ac13f
+3 -1
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()
}
}()
}