Skip to content

Commit f401e12

Browse files
authored
Update events-and-parameters.mdx
1 parent a3001d3 commit f401e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/workflows/build/events-and-parameters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The above example:
105105
- Uses a TypeScript [type parameter](https://www.typescriptlang.org/docs/handbook/2/generics.html) to type the return value of `step.waitForEvent` as our `IncomingStripeWebhook`.
106106
- Continues on with the rest of the Workflow.
107107

108-
The default timeout for a `waitForEvent` call is 1 hour, which can be changed by passing `{ timeout: WorkflowTimeoutDuration }` as the second argument to your `waitForEvent` call.
108+
The default timeout for a `waitForEvent` call is 24 hours, which can be changed by passing `{ timeout: WorkflowTimeoutDuration }` as the second argument to your `waitForEvent` call.
109109

110110
<TypeScriptExample>
111111

0 commit comments

Comments
 (0)