fix 修复panic

This commit is contained in:
timerzz 2024-12-10 21:16:01 +08:00
parent e06cad6bc5
commit 364e132845

View File

@ -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
}