Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix(jobs): drop the invalid singleton key on the workflow scheduler (#1724)

Naveen Kashyapa5f33bb9c130
diff --git a/packages/jobs/src/inngest/functions/workflows/scheduler.ts b/packages/jobs/src/inngest/functions/workflows/scheduler.ts
index 031597407d..30aa84df5d 100644
--- a/packages/jobs/src/inngest/functions/workflows/scheduler.ts
+++ b/packages/jobs/src/inngest/functions/workflows/scheduler.ts
@@ -16,7 +16,7 @@ export const workflowSchedulerFunction = inngest.createFunction(
retries: 3,
// Never two wakes at once. Combined with the Redis chain token, a duplicate chain
// converges back to one instead of multiplying.
- singleton: { key: "workflows-scheduler", mode: "skip" }
+ singleton: { mode: "skip" }
},
{ event: "carbon/workflow-scheduler.wake" },
async ({ event, step, logger }) => {