From a06d64c8d3ad5c13c84cf2d538844a5c3473e47e Mon Sep 17 00:00:00 2001 From: mkolasinski-splunk <105011638+mkolasinski-splunk@users.noreply.github.com> Date: Thu, 5 Oct 2023 12:57:51 +0200 Subject: [PATCH] fix: extend max retries for submitting package (#19) --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 76a9bfa..6d2f9dc 100644 --- a/main.py +++ b/main.py @@ -162,7 +162,7 @@ def _validate_validation_status(response: requests.Response) -> bool: "Authorization": f"bearer {token}", }, rand=lambda: seconds_to_wait, - num_retries=30, + num_retries=40, validation_function=_validate_validation_status, ) except CouldNotAuthenticateException: