fix(session): cap Retry-After on the requests retry policies

A server-sent Retry-After could park a run for up to six hours.
This commit is contained in:
imSp4rky
2026-10-13 19:59:14 -06:00
parent 5ff2bef550
commit 9ef7a8bd06
5 changed files with 31 additions and 5 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ class MetadataProvider(metaclass=ABCMeta):
retry = Retry(
total=3,
backoff_factor=1,
status_forcelist=[429, 500, 502, 503, 504],
status_forcelist=[500, 502, 503, 504],
allowed_methods=["GET", "POST"],
respect_retry_after_header=False,
)