diff --git a/src/app/api/quickbooks/cron/route.ts b/src/app/api/quickbooks/cron/route.ts index 17600c3..4f8f22e 100644 --- a/src/app/api/quickbooks/cron/route.ts +++ b/src/app/api/quickbooks/cron/route.ts @@ -1,6 +1,7 @@ import { withErrorHandler } from '@/app/api/core/utils/withErrorHandler' import { processFailedSync } from '@/app/api/quickbooks/cron/cron.controller' -export const maxDuration = 800 // 13 minutes. Docs: https://vercel.com/docs/functions/configuring-functions/duration#duration-limits +export const maxDuration = 300 // 5 min normally, 13 minutes with Fluid Compute. +// Docs: https://vercel.com/docs/functions/configuring-functions/duration#duration-limits export const GET = withErrorHandler(processFailedSync)