bugfixes
This commit is contained in:
@@ -44,10 +44,6 @@ impl ProxyParseError {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn all_proxies_handle() -> Option<Arc<RwLock<Vec<Proxy>>>> {
|
||||
ALL_PROXIES.get().cloned()
|
||||
}
|
||||
|
||||
pub async fn all_proxies_snapshot() -> Option<Vec<Proxy>> {
|
||||
let handle = ALL_PROXIES.get()?.clone();
|
||||
let proxies = handle.read().await;
|
||||
@@ -152,7 +148,7 @@ pub async fn fetch_proxies(
|
||||
added += 1;
|
||||
}
|
||||
}
|
||||
Ok(Err(err)) => {
|
||||
Ok(Err(_err)) => {
|
||||
// eprintln!("Proxy verification failed: {err}");
|
||||
}
|
||||
Err(err) => {
|
||||
|
||||
Reference in New Issue
Block a user