Skip to content

Commit d19e501

Browse files
committed
Format the machine override example code
1 parent 7b1159e commit d19e501

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/machines.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ You can view the Trigger.dev cloud pricing for these machines [here](https://tri
4747
You can also override the task machine when you [trigger](/triggering) it:
4848

4949
```ts
50-
await tasks.trigger<typeof heavyTask>("heavy-task", { message: "hello world" }, { machine: "large-2x" });
50+
await tasks.trigger<typeof heavyTask>(
51+
"heavy-task",
52+
{ message: "hello world" },
53+
{ machine: "large-2x" }
54+
);
5155
```
5256

5357
This is useful when you know that a certain payload will require more memory than the default machine. For example, you know it's a larger file or a customer that has a lot of data.

0 commit comments

Comments
 (0)