diff options
author | Alex Auvolat <alex@adnab.me> | 2024-03-27 16:00:46 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-03-27 16:22:40 +0100 |
commit | 85f580cbde4913fe8382316ff3c27b8443c61dd7 (patch) | |
tree | b5bf432281b746706c38fd4e494240997b66e9d1 /src/net/server.rs | |
parent | 0d3e285d133459fd53e28f879a86c0de1a0c36df (diff) | |
download | garage-fix-buffering.tar.gz garage-fix-buffering.zip |
[fix-buffering] change request sending strategy and fix prioritiesfix-buffering
remove LAS, priorize new requests but otherwise just do standard queuing
Diffstat (limited to 'src/net/server.rs')
-rw-r--r-- | src/net/server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/server.rs b/src/net/server.rs index 55b9e678..36dccb2f 100644 --- a/src/net/server.rs +++ b/src/net/server.rs @@ -190,7 +190,7 @@ impl RecvLoop for ServerConn { let (prio, resp_enc_result) = match ReqEnc::decode(stream).await { Ok(req_enc) => (req_enc.prio, self2.recv_handler_aux(req_enc).await), - Err(e) => (PRIO_HIGH, Err(e)), + Err(e) => (PRIO_NORMAL, Err(e)), }; debug!("server: sending response to {}", id); |