Increase wait-for-stage timeouts to handle long queue times (#17536)
This commit is contained in:
@@ -209,7 +209,7 @@ jobs:
|
|||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const maxWaitMinutes = 60;
|
const maxWaitMinutes = 240;
|
||||||
const pollIntervalSeconds = 120; // 2 minutes to reduce GH API calls
|
const pollIntervalSeconds = 120; // 2 minutes to reduce GH API calls
|
||||||
const maxAttempts = (maxWaitMinutes * 60) / pollIntervalSeconds;
|
const maxAttempts = (maxWaitMinutes * 60) / pollIntervalSeconds;
|
||||||
|
|
||||||
@@ -270,7 +270,7 @@ jobs:
|
|||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const maxWaitMinutes = 90;
|
const maxWaitMinutes = 480;
|
||||||
const pollIntervalSeconds = 120; // 2 minutes to reduce GH API calls
|
const pollIntervalSeconds = 120; // 2 minutes to reduce GH API calls
|
||||||
const maxAttempts = (maxWaitMinutes * 60) / pollIntervalSeconds;
|
const maxAttempts = (maxWaitMinutes * 60) / pollIntervalSeconds;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user