Add another connection attempt

This commit is contained in:
Demmie 2025-01-22 02:22:41 -05:00
parent 7ac76da921
commit b07d3958bb
No known key found for this signature in database
GPG Key ID: B06DAA3D432C6E9A

View File

@ -41,7 +41,7 @@ impl ReportClient {
Fut: Future<Output = Result<T, E>>,
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)