generated from kedaya_haitao/template
fix 修复panic
This commit is contained in:
parent
e06cad6bc5
commit
364e132845
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user