Skip to content

Commit 94b6ec4

Browse files
committed
fix: add 503 status to retry list
1 parent 393cf31 commit 94b6ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def trigger_function(domain_name: str, max_retries: int = 10) -> requests.Respon
8181
total=max_retries,
8282
backoff_factor=2,
8383
status=max_retries, # Status max retries
84-
status_forcelist=[500, 404],
84+
status_forcelist=[500, 503, 404],
8585
raise_on_status=False, # Raise for status called after
8686
)
8787
session.mount("https://", HTTPAdapter(max_retries=retries))

0 commit comments

Comments
 (0)