From d85d8ac13f310bd87da31ff55eaef3382d5ff7b5 Mon Sep 17 00:00:00 2001 From: Skyxim Date: Mon, 13 Nov 2023 08:06:51 +0000 Subject: [PATCH] fix: only force health check compatible providers --- hub/executor/executor.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hub/executor/executor.go b/hub/executor/executor.go index c752122d..e0b12039 100644 --- a/hub/executor/executor.go +++ b/hub/executor/executor.go @@ -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() + } }() }