Skip to content

Commit

Permalink
upping timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorFries committed Nov 9, 2024
1 parent 133c0e7 commit 703b6c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/helpers/github-api/update-issue-and-comment.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const closeAndCreateIssue = async (issueTitle, issueBody) => {
}

// wait for issue to be created.
timeout(1000).then(() => console.log("pausing for issue to be created..."));
timeout(2000).then(() => console.log("pausing for issue to be created..."));

// return new issue number
return newIssue.body.number;
Expand All @@ -132,7 +132,7 @@ const createAndCloseComment = async (issueNumber, issueComment) => {
}

// pausing so that the comment is created, and webhook sent.
timeout(1000).then(() => console.log("pausing for comment to be created..."));
timeout(2000).then(() => console.log("pausing for comment to be created..."));

// get the comment id from the response data
const commentID = newComment.data.id;
Expand Down

0 comments on commit 703b6c6

Please sign in to comment.