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: don't use math in the maxDuration config. it breaks the build

Brad Barbin114a3870068f
diff --git a/apps/carbon/app/routes/api+/trigger.ts b/apps/carbon/app/routes/api+/trigger.ts
index c4d3eaf291..036cb0f8b5 100644
--- a/apps/carbon/app/routes/api+/trigger.ts
+++ b/apps/carbon/app/routes/api+/trigger.ts
@@ -3,7 +3,7 @@ import serverRuntime from "@remix-run/server-runtime";
import { triggerClient } from "~/lib/trigger.server";
export const config = {
- maxDuration: 5 * 60, // 5 minutes
+ maxDuration: 300, // 5 minutes
};
// Job registration has been moved to entry.server.tsx;