fix: attempt fixing timeout
This commit is contained in:
		
							parent
							
								
									fe8f5a49ff
								
							
						
					
					
						commit
						5eba792579
					
				@ -17,8 +17,6 @@ import "server-only";
 | 
			
		||||
import { v4 } from "uuid";
 | 
			
		||||
import { withServerPromise } from "./withServerPromise";
 | 
			
		||||
 | 
			
		||||
export const maxDuration = 300; // 5 minutes
 | 
			
		||||
 | 
			
		||||
export const createRun = withServerPromise(
 | 
			
		||||
  async ({
 | 
			
		||||
    origin,
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										7
									
								
								web/vercel.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								web/vercel.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
{
 | 
			
		||||
  "functions": {
 | 
			
		||||
    "src/app/**/*": {
 | 
			
		||||
      "maxDuration": 300
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user