From 9e07a14af19d01b932f4a26861de6766c4f504ab Mon Sep 17 00:00:00 2001 From: synkd Date: Tue, 9 Jul 2024 13:03:14 -0400 Subject: [PATCH] Increase export job check timeout This PR greatly increases the number of times manifester will check the status of a manifest export job in RHSM before timing out. This is intended to address scenarios in which there is a significant gap between an export job being scheduled in RHSM and the job starting execution. --- manifester/manifester.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifester/manifester.py b/manifester/manifester.py index d9fc74d..b5b086d 100644 --- a/manifester/manifester.py +++ b/manifester/manifester.py @@ -339,7 +339,7 @@ def trigger_manifest_export(self): Starts the export job, monitors the status of the job, and downloads the manifest on successful completion of the job. """ - MAX_REQUESTS = 50 + MAX_REQUESTS = 500 SUCCESS_CODE = 200 data = { "headers": {"Authorization": f"Bearer {self.access_token}"},