From: Ian Jackson Date: Wed, 4 Aug 2021 01:01:28 +0000 (+0100) Subject: some done todos X-Git-Tag: hippotat/1.0.0~350 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=5b53f7f94200aac846d29566f350c2a82eac2ef3;p=hippotat.git some done todos Signed-off-by: Ian Jackson --- diff --git a/src/bin/client.rs b/src/bin/client.rs index 7f61851..a0e70ab 100644 --- a/src/bin/client.rs +++ b/src/bin/client.rs @@ -256,7 +256,6 @@ async fn run_client( (reqs.len() < ic.target_requests_outstanding.sat() || (reqs.len() < ic.max_requests_outstanding.sat() && ! upbound.is_empty())) - // xxx backpressure, if too much in rx_queue => { submit_request(&c, &mut req_num, &mut reqs, diff --git a/src/lib.rs b/src/lib.rs index 1dcc968..7f5a854 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,13 +2,6 @@ // SPDX-License-Identifier: GPL-3.0-or-later // There is NO WARRANTY. -/* -#![allow(unused_imports)] // xxx -#![allow(unreachable_code)] // xxx -#![allow(dead_code)] // xxx -#![allow(unused_variables)] // xxx -*/ - #![feature(io_error_more)] // EK::IsADirectory pub mod prelude; diff --git a/src/reporter.rs b/src/reporter.rs index f14598b..3984915 100644 --- a/src/reporter.rs +++ b/src/reporter.rs @@ -49,11 +49,9 @@ impl<'r> Reporter<'r> { let now = Instant::now(); match r { Ok(t) => { - // xxx something something success Some(t) }, Err(e) => { - // xxx something something error let m = (||{ let mut m = self.ic.to_string(); if let Some(req_num) = req_num {