Skip to content

Commit a65519b

Browse files
matt-aitkenericallam
authored andcommitted
Fix for the test code… stupid
1 parent f739407 commit a65519b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

references/v3-catalog/src/queues.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import dotenv from "dotenv";
22
import { simpleChildTask } from "./trigger/subtasks";
33
import { wait } from "@trigger.dev/sdk/v3";
4+
import { setTimeout } from "timers/promises";
45

56
dotenv.config();
67

@@ -56,7 +57,7 @@ export async function run() {
5657
},
5758
]);
5859

59-
await wait.for({ seconds: 5 });
60+
await setTimeout(10_000);
6061

6162
//this should set the concurrencyLimit back to none
6263
await simpleChildTask.trigger(

0 commit comments

Comments
 (0)