aboutsummaryrefslogtreecommitdiff
path: root/src/https.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-01-13 11:31:08 +0100
committerAlex Auvolat <alex@adnab.me>2022-01-13 11:36:52 +0100
commitced324bc876eb592c0ed4aea889827c0000cf9ad (patch)
treef9c7fb31a0328ff28ad010ad706c245741a345c4 /src/https.rs
parentc030c4764570974b09d2387854b30538e81e7b86 (diff)
downloadtricot-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.rs2
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),
)
});