fix: max duration for 5mins incase modal cold start too long
This commit is contained in:
		
							parent
							
								
									7dfc7a4ff8
								
							
						
					
					
						commit
						1e99474780
					
				@ -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 {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user