From 7609bd926cc43fb14277d2ed281b68a3525804d4 Mon Sep 17 00:00:00 2001 From: grymphen Date: Tue, 12 May 2026 15:04:08 +0200 Subject: [PATCH] check for doubles --- uploader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uploader.py b/uploader.py index d28854f..168355b 100644 --- a/uploader.py +++ b/uploader.py @@ -147,8 +147,8 @@ class CalibreClient: except requests.HTTPError: if resp.status_code in (502, 503, 504): if attempt < 3: - log.warning("HTTP %s on attempt %d/3 — retrying in 60s ...", resp.status_code, attempt) - time.sleep(60) + log.warning("HTTP %s on attempt %d/3 — retrying in 180s ...", resp.status_code, attempt) + time.sleep(180) continue # All retries exhausted self._consecutive_failures += 1