docs/plan: trim retry-backoff tuple to match attempts-1
This commit is contained in:
parent
8cc7f84801
commit
429fee3868
1 changed files with 2 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue