fix: max duration for 5mins incase modal cold start too long
This commit is contained in:
1 parent
7dfc7a4ff8
commit
1e99474780
1 file changed
+1
@@ -8,6 +8,7 @@ import type { Context, Next } from "hono";
|
||||
import { handle } from "hono/vercel";
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
export const maxDuration = 300; // 5 minutes
|
||||
|
||||
declare module "hono" {
|
||||
interface ContextVariableMap {
|
||||
|
||||
Reference in new issue
Block a user