From 71fd6525fd222e18edcd8685e70ccd572255496b Mon Sep 17 00:00:00 2001 From: grymphen Date: Sun, 10 May 2026 20:34:06 +0200 Subject: [PATCH] sync errors --- uploader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uploader.py b/uploader.py index ae4c150..9d6f25e 100644 --- a/uploader.py +++ b/uploader.py @@ -121,7 +121,7 @@ class CalibreClient: except requests.HTTPError as e: last_err = e if resp.status_code in (502, 503, 504) and attempt < 3: - delay = 1 if attempt == 1 else 3 + delay = 2 if attempt == 1 else 6 log.warning("HTTP %s on attempt %d/3 — retrying in %ds ...", resp.status_code, attempt, delay) time.sleep(delay) continue