From 0e50b15f23dd523ebae2e67896be36a51d8469a9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 4 Aug 2021 23:31:35 +0100 Subject: [PATCH] max_queue_time: Doc that it is not LIMITed This is more orthogonal to describe and simpler to implement (indeed it is what we have impleented here). Signed-off-by: Ian Jackson --- README.config | 6 ++---- src/config.rs | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.config b/README.config index aa493bb..dd7381d 100644 --- a/README.config +++ b/README.config @@ -99,10 +99,8 @@ Capped settings: max_queue_time Discard packets after they have been queued this long waiting for http. - On server: setting applies to downward packets, and is capped - by LIMIT values. - On client: setting applies to upward packets, and is - not affected by LIMIT values. + On server: setting applies to downward packets. + On client: setting applies to upward packets. [10 s; LIMIT: 121 s] http_timeout diff --git a/src/config.rs b/src/config.rs index b1e27aa..a36ec58 100644 --- a/src/config.rs +++ b/src/config.rs @@ -16,7 +16,7 @@ pub struct InstanceConfig { // Capped settings: #[limited] pub max_batch_down: u32, - #[limited] pub max_queue_time: Duration, // xxx client unlimited + #[limited] pub max_queue_time: Duration, #[limited] pub http_timeout: Duration, #[limited] pub target_requests_outstanding: u32, -- 2.30.2