From b07d3958bb3d42f33840c4ef7794e4370af0f1fe Mon Sep 17 00:00:00 2001 From: Demmie <2e3s19@gmail.com> Date: Wed, 22 Jan 2025 02:22:41 -0500 Subject: [PATCH] Add another connection attempt --- watchers/src/report_client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watchers/src/report_client.rs b/watchers/src/report_client.rs index f980e1a..4855140 100644 --- a/watchers/src/report_client.rs +++ b/watchers/src/report_client.rs @@ -41,7 +41,7 @@ impl ReportClient { Fut: Future>, E: std::error::Error + Send + Sync + 'static, { - for (attempt, &secs) in [1, 2].iter().enumerate() { + for (attempt, &secs) in [1, 2, 4].iter().enumerate() { match f().await { Ok(val) => return Ok(val), Err(e)