What the linter reports:
timeoutMS value exceeds Gadget’s max of 900000ms.
Examples
- Incorrect
- Correct
api/models/widget/actions/create.ts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Enforce that timeoutMS in Gadget action options does not exceed 900000ms (15 minutes).
| Recommended | Strict | Auto-fixable | Scope |
|---|---|---|---|
| error | error | true | Gadget action files |
timeoutMS value exceeds Gadget’s max of 900000ms.
export const options: ActionOptions = {
// 950000ms exceeds the max of 900000ms (15 minutes)
timeoutMS: 950000,
};
export const options: ActionOptions = {
// maximum allowed value is 900000ms (15 minutes)
timeoutMS: 900000,
};
Was this page helpful?