Skip to content

Commit

Permalink
feat(pnjs): wait 15m not 5s to send thanks email to put some separati…
Browse files Browse the repository at this point in the history
…on between login and welcome
  • Loading branch information
joelhooks committed Sep 2, 2024
1 parent 32ff829 commit 4368be5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const postPurchaseWorkflow = inngest.createFunction(
throw new Error(`email resource not found`)
}

await step.sleep(`sleep for 5 minutes`, '5s')
await step.sleep(`sleep for 5 minutes`, '15m')

const welcomeEmailBody: string = await step.run(
`parse email body`,
Expand Down

0 comments on commit 4368be5

Please sign in to comment.