From ced324bc876eb592c0ed4aea889827c0000cf9ad Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 13 Jan 2022 11:31:08 +0100 Subject: Make nodes aware of where they are and use that to priorize backends --- src/https.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/https.rs') diff --git a/src/https.rs b/src/https.rs index a9f2cc1..34e3f85 100644 --- a/src/https.rs +++ b/src/https.rs @@ -137,6 +137,8 @@ async fn handle( .as_ref() .map(|x| x.len() as i32) .unwrap_or(0), + ent.same_node, + ent.same_site, -ent.calls.load(Ordering::SeqCst), ) }); -- cgit v1.2.3