Skip to content

Commit

Permalink
fix(gitlab): reduce attempts (#25994)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Nov 28, 2023
1 parent a00f32e commit 802f86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/platform/gitlab/index.ts
Expand Up @@ -644,7 +644,7 @@ async function tryPrAutomerge(
}

const desiredStatus = 'can_be_merged';
const retryTimes = 35; // results in max. 5 min. timeout if no pipeline created
const retryTimes = 8; // results in max. 5 min. timeout if no pipeline created

// Check for correct merge request status before setting `merge_when_pipeline_succeeds` to `true`.
for (let attempt = 1; attempt <= retryTimes; attempt += 1) {
Expand Down

0 comments on commit 802f86d

Please sign in to comment.