Merge branch 'main' into v3/worker-attempt-creation
🚀 Publish Trigger.dev Docker / units (push) Failing after 13m49s
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 13m50s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped

This commit is contained in:
nicktrn
2024-05-08 15:13:53 +01:00
2 changed files with 2 additions and 2 deletions
@@ -173,7 +173,7 @@ export async function createBackgroundTasks(
},
});
if (taskQueue.concurrencyLimit) {
if (typeof taskQueue.concurrencyLimit === "number") {
await marqs?.updateQueueConcurrencyLimits(
environment,
taskQueue.name,
@@ -3,7 +3,7 @@ import { logger, task, wait } from "@trigger.dev/sdk/v3";
export const oneAtATime = task({
id: "on-at-a-time",
queue: {
concurrencyLimit: 2,
concurrencyLimit: 1,
},
run: async (payload: { message: string }) => {
logger.info("One at a time task payload", { payload });