Skip to content

Commit

Permalink
Increase export job check timeout
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
synkd committed Jul 9, 2024
1 parent 7897d1c commit 9e07a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifester/manifester.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"},
Expand Down

0 comments on commit 9e07a14

Please sign in to comment.