Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

chore: increase maxDuration of trigger function to 60s

Marc Seitz5ef09305b2c1
diff --git a/app/api/trigger/route.ts b/app/api/trigger/route.ts
index 747b27e0..e6a47f3f 100644
--- a/app/api/trigger/route.ts
+++ b/app/api/trigger/route.ts
@@ -3,5 +3,8 @@ import { client } from "@/trigger";
import "@/jobs";
-//this route is used to send and receive data with Trigger.dev
+// This is the maximum duration of a job in seconds
+export const maxDuration = 60;
+
+// This route is used to send and receive data with Trigger.dev
export const { POST, dynamic } = createAppRoute(client);