Skip to content

Commit

Permalink
fix: trigger timing
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhruwang committed Sep 17, 2024
1 parent 3ad5fa7 commit 36fa414
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trigger/issueReminder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const issueReminderTask = task({

//wait for 36hrs
logger.info("Waiting for 36 hours");
await wait.for({ seconds: 5 });
await wait.for({ hours: 36 });

//made this a task so it doesn't get replayed
const taskValue = async () => {
Expand Down Expand Up @@ -74,7 +74,7 @@ export const issueReminderTask = task({
return;
} else {
logger.info("waiting for 12hrs");
await wait.for({ seconds: 60 });
await wait.for({ hours: 12 });

const pullRequest = await findPullRequestByIssueAndCommenter(
octokit,
Expand Down

0 comments on commit 36fa414

Please sign in to comment.