diff options
author | Alex Auvolat <alex@adnab.me> | 2022-01-13 11:31:08 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-01-13 11:36:52 +0100 |
commit | ced324bc876eb592c0ed4aea889827c0000cf9ad (patch) | |
tree | f9c7fb31a0328ff28ad010ad706c245741a345c4 /src/https.rs | |
parent | c030c4764570974b09d2387854b30538e81e7b86 (diff) | |
download | tricot-ced324bc876eb592c0ed4aea889827c0000cf9ad.tar.gz tricot-ced324bc876eb592c0ed4aea889827c0000cf9ad.zip |
Make nodes aware of where they are and use that to priorize backendsdocker-28
Diffstat (limited to 'src/https.rs')
-rw-r--r-- | src/https.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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), ) }); |