We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcc66e8 commit b96d6b2Copy full SHA for b96d6b2
scripts/fetch-ci-nightly-data.js
@@ -37,7 +37,7 @@ const main_branch_url = "https://api.github.com/repos/" +
37
"kata-containers/kata-containers/branches/main";
38
39
// The number of jobs to fetch from the github API on each paged request.
40
-const jobs_per_request = 100;
+const jobs_per_request = 50;
41
42
// Count of the number of fetches.
43
let fetch_count = 0;
@@ -87,7 +87,7 @@ function get_job_data(run) {
87
});
88
89
if (!response.ok) {
90
- throw new Error(`Failed to fetch jobs: ${response.status}: ` +
+ throw new Error(`Failed to fetch jobs from ${jobs_url}: ${response.status}: ` +
91
`${response.statusText}`);
92
}
93
const json = await response.json();
0 commit comments