From: Ian Jackson Date: Wed, 4 Aug 2021 22:31:35 +0000 (+0100) Subject: max_queue_time: Doc that it is not LIMITed X-Git-Tag: hippotat/1.0.0~332 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=0e50b15f23dd523ebae2e67896be36a51d8469a9;hp=55b968aa1d70955ad593a83bde24b01bce5db747;p=hippotat.git 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 --- 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,