From 6b58df560b8a6797dc90dc39d73984c8d8ece4a8 Mon Sep 17 00:00:00 2001 From: monosans Date: Fri, 6 Mar 2026 12:00:29 +0300 Subject: [PATCH] fix clippy error --- src/http.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.rs b/src/http.rs index 3e49ae3..eb7665f 100644 --- a/src/http.rs +++ b/src/http.rs @@ -112,7 +112,7 @@ fn calculate_retry_timeout( if let Some(h) = headers && let Some(after) = parse_retry_after(h) { - if after > Duration::from_secs(60) { + if after > Duration::from_mins(1) { return None; } return Some(after);