From: Ian Jackson Date: Sat, 7 Aug 2021 12:51:01 +0000 (+0100) Subject: client: better logging of ipif failures X-Git-Tag: hippotat/1.0.0~297 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=6b44c354d97e813d2866f1a8c5d0eb4f3b8ae2c0;p=hippotat.git client: better logging of ipif failures Signed-off-by: Ian Jackson --- diff --git a/src/bin/client.rs b/src/bin/client.rs index 8d29bea..095cd55 100644 --- a/src/bin/client.rs +++ b/src/bin/client.rs @@ -317,7 +317,7 @@ async fn run_client( match ipif.wait().await { Err(e) => error!("{}: also, failed to await ipif child: {}", &ic, e), Ok(st) => { - let stderr_timeout = Duration::from_millis(100); + let stderr_timeout = Duration::from_millis(1000); match tokio::time::timeout(stderr_timeout, stderr_task).await { Err::<_,tokio::time::error::Elapsed>(_) => warn!("{}: ipif stderr task continues!", &ic),