Skip to content

Commit e26fe97

Browse files
committed
fix: update maxDuration constant to use seconds for clarity in agent route
1 parent 583ec56 commit e26fe97

File tree

1 file changed

+1
-1
lines changed
  • apps/mediamake/app/api/studio/chat/dev/agent/[...slug]

1 file changed

+1
-1
lines changed

apps/mediamake/app/api/studio/chat/dev/agent/[...slug]/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getClientId } from '@/lib/auth-utils';
33
import { UIMessage } from 'ai';
44
import { NextRequest } from 'next/server';
55

6-
export const maxDuration = 30 * 60; // 30 minutes
6+
export const maxDuration = 1800; // 1800 seconds = 30 minutes
77

88
export async function GET(req: NextRequest) {
99
//const body = req.body;

0 commit comments

Comments
 (0)