From 364e132845d70b636321b1b747d2528481e25691 Mon Sep 17 00:00:00 2001 From: timerzz Date: Tue, 10 Dec 2024 21:16:01 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8Dpanic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/proxy/crawl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/proxy/crawl.go b/pkg/proxy/crawl.go index e26b8e2..90c5c39 100644 --- a/pkg/proxy/crawl.go +++ b/pkg/proxy/crawl.go @@ -31,7 +31,7 @@ func CrawlProxies(ctx context.Context, getters []getter.Getter) { wg.Wait() log.Infof("Crawled %d proxies", proxies.Len()) proxyList := healthcheck.CleanBadProxies(ctx, proxies.Get()) - log.Infof("Health checked %d proxies", proxyList) + log.Infof("Health checked %d proxies", len(proxyList)) structs.ProxiesList.Add(proxyList) return }