Skip to content

Commit 4cf8b69

Browse files
committed
Fix for typo
1 parent b2bba94 commit 4cf8b69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/runs/max-duration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: "Set a maximum compute time limit for a task to run."
77
The `maxComputeSeconds` parameter sets a maximum compute time limit for tasks. When a task exceeds this duration, it will be automatically stopped. This helps prevent runaway tasks and manage compute resources effectively.
88

99
<Note>
10-
`maxComputeSeconds` replaces the deprecated `maxComputeSeconds` parameter. Both work the same way, but we recommend using `maxComputeSeconds` for clarity.
10+
`maxDuration` replaces the deprecated `maxComputeSeconds` parameter. Both work the same way, but we recommend using `maxDuration` for clarity.
1111
</Note>
1212

1313
You must set a default maxComputeSeconds in your `trigger.config.ts` file, which will apply to all tasks unless overridden:

0 commit comments

Comments
 (0)