Skip to content

Commit 5db583b

Browse files
authored
docs: add machine option in triggering docs (#2487)
1 parent 1227e54 commit 5db583b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/triggering.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -961,6 +961,16 @@ If you don't specify a region it will use the default for your project. Go to th
961961

962962
The region is where your runs are executed, it does not change where the run payload, output, tags, logs, or are any other data is stored.
963963

964+
### `machine`
965+
966+
You can override the default machine preset when you trigger a run:
967+
968+
```ts
969+
await yourTask.trigger(payload, { machine: "large-1x" });
970+
```
971+
972+
If you don't specify a machine it will use the machine preset for your task (or the default for your project). For more information read [the machines guide](/machines).
973+
964974
## Large Payloads
965975

966976
We recommend keeping your task payloads as small as possible. We currently have a hard limit on task payloads above 10MB.

0 commit comments

Comments
 (0)