mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
Fix: missing health check instance
This commit is contained in:
parent
af40048841
commit
37603735bd
|
@ -314,7 +314,8 @@ func parseProxies(cfg *rawConfig) (proxies map[string]C.Proxy, providersMap map[
|
|||
for _, v := range proxyList {
|
||||
ps = append(ps, proxies[v])
|
||||
}
|
||||
pd, _ := provider.NewCompatibleProvier(provider.ReservedName, ps, nil)
|
||||
hc := provider.NewHealthCheck(ps, "", 0)
|
||||
pd, _ := provider.NewCompatibleProvier(provider.ReservedName, ps, hc)
|
||||
providersMap[provider.ReservedName] = pd
|
||||
|
||||
global := outboundgroup.NewSelector("GLOBAL", []provider.ProxyProvider{pd})
|
||||
|
|
Loading…
Reference in New Issue
Block a user