docs/plan: trim retry-backoff tuple to match attempts-1

This commit is contained in:
mwiegand 2026-05-11 23:21:10 +02:00
parent 8cc7f84801
commit 429fee3868
No known key found for this signature in database

View file

@ -264,7 +264,8 @@ from l4d2web.services.steam_workshop import (
DOWNLOAD_RETRY_ATTEMPTS = 3
DOWNLOAD_RETRY_BACKOFF_SECONDS = (1.0, 2.0, 4.0)
DOWNLOAD_RETRY_BACKOFF_SECONDS = (1.0, 2.0)
assert len(DOWNLOAD_RETRY_BACKOFF_SECONDS) == DOWNLOAD_RETRY_ATTEMPTS - 1
def _download_with_retry(