Skip to content

Commit

Permalink
increase re-try delay
Browse files Browse the repository at this point in the history
  • Loading branch information
mordamax committed Oct 17, 2023
1 parent 644611b commit c0a9fc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gitlab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ export const runCommandInGitlabPipeline = async (ctx: Context, task: Task): Prom
registered the branch, therefore causing the "Reference not found" message.
*/
let wasBranchRegistered = false;
const waitForBranchMaxTries = 3;
const waitForBranchRetryDelayMs = 2000;
const waitForBranchMaxTries = 5;
const waitForBranchRetryDelayMs = 5000;

const branchPresenceUrl = `${gitlabProjectApi}/repository/branches/${branchNameUrlEncoded}`;

Expand Down

0 comments on commit c0a9fc9

Please sign in to comment.