From bfaf17540e011f98cce2a410228b1630bc47efcd Mon Sep 17 00:00:00 2001 From: rachyandco Date: Thu, 30 Apr 2026 05:56:09 +0200 Subject: [PATCH] Apply suggestion from @jmwample Co-authored-by: Jack Wampler --- common/http-api-client/src/dns.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/http-api-client/src/dns.rs b/common/http-api-client/src/dns.rs index bd18d68ebb..48bd824f19 100644 --- a/common/http-api-client/src/dns.rs +++ b/common/http-api-client/src/dns.rs @@ -233,8 +233,6 @@ async fn resolve( Ok(Ok(lookup)) => { // Shuffle so that successive connection attempts cycle through all // returned IPs rather than always hitting the same first address. - // This distributes retries across the full set of CDN edge nodes - // even within the cache TTL window. let mut ips: Vec = lookup.into_iter().collect(); fastrand::shuffle(&mut ips); let addrs: Addrs = Box::new(ips.into_iter().map(|ip| SocketAddr::new(ip, 0)));