This commit is contained in:
Simon
2026-03-05 13:51:57 +00:00
parent 8157e223fe
commit 76fd5a4f4f
5 changed files with 39 additions and 132 deletions

View File

@@ -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) => {