From b35907f7977ad5bedea01fc1ba8a4a2389ff119f Mon Sep 17 00:00:00 2001 From: arpandhakal-lgtm Date: Thu, 29 Jan 2026 17:52:46 +0545 Subject: [PATCH] chore: increased the max duration of client page just in case where validate-notificaiton job takes more than 15 seconds --- src/app/client/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/client/page.tsx b/src/app/client/page.tsx index 51ba540a7..0e1a5493d 100644 --- a/src/app/client/page.tsx +++ b/src/app/client/page.tsx @@ -27,6 +27,8 @@ import { UserRole } from '@api/core/types/user' import { Suspense } from 'react' import { z } from 'zod' +export const maxDuration = 60 //just to be safe. the validate count job might take longer that 15 seconds(default max duration of server components) which will make the app crash. Increasing the duration to 60. + async function getAllWorkflowStates(token: string): Promise { const res = await fetch(`${apiUrl}/api/workflow-states?token=${token}`, { next: { tags: ['getAllWorkflowStates'] },