From dc4f3fb1c28b1edc0e6d6d3318eef6992280a58d Mon Sep 17 00:00:00 2001 From: Luke Heath Date: Wed, 28 Jan 2026 13:48:50 -0600 Subject: [PATCH] Extending KPI script timeout to 30 seconds (#38921) --- website/scripts/get-bug-and-pr-report.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/website/scripts/get-bug-and-pr-report.js b/website/scripts/get-bug-and-pr-report.js index f23fd9dc7a..5d7827055c 100644 --- a/website/scripts/get-bug-and-pr-report.js +++ b/website/scripts/get-bug-and-pr-report.js @@ -75,7 +75,7 @@ module.exports = { allIssuesWithBugLabel = allIssuesWithBugLabel.concat(issuesWithBugLabel); // If we received less results than we requested, we've reached the last page of the results. return issuesWithBugLabel.length !== NUMBER_OF_RESULTS_REQUESTED; - }, 10000); + }, 30000); // iterate through the allIssuesWithBugLabel array, adding the number for (let issue of allIssuesWithBugLabel) { @@ -133,7 +133,7 @@ module.exports = { allIssuesWithBugLabel = allIssuesWithBugLabel.concat(issuesWithBugLabel); // Stop when we've received results from the third page. return pageNumberForPaginatedResults === 3; - }, 10000); + }, 30000); // iterate through the allIssuesWithBugLabel array, adding the number for (let issue of allIssuesWithBugLabel) { @@ -240,7 +240,7 @@ module.exports = { allPublicOpenPrs = allPublicOpenPrs.concat(pullRequests); // If we received less results than we requested, we've reached the last page of the results. return pullRequests.length !== NUMBER_OF_RESULTS_REQUESTED; - }, 10000); + }, 30000); for (let pullRequest of allPublicOpenPrs) { // Create a date object from the PR's created_at timestamp. @@ -378,3 +378,4 @@ module.exports = { }; +