fix: set max duration for share page and workflow
This commit is contained in:
		
							parent
							
								
									ad977f56f3
								
							
						
					
					
						commit
						a4825acc95
					
				@ -24,6 +24,8 @@ import { auth, clerkClient } from "@clerk/nextjs/server";
 | 
			
		||||
import { eq } from "drizzle-orm";
 | 
			
		||||
import { redirect } from "next/navigation";
 | 
			
		||||
 | 
			
		||||
export const maxDuration = 300; // 5 minutes
 | 
			
		||||
 | 
			
		||||
export default async function Page({
 | 
			
		||||
  params,
 | 
			
		||||
}: {
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,8 @@
 | 
			
		||||
import { findWorkflowById } from "@/server/findFirstTableWithVersion";
 | 
			
		||||
import { redirect } from "next/navigation";
 | 
			
		||||
 | 
			
		||||
export const maxDuration = 300; // 5 minutes
 | 
			
		||||
 | 
			
		||||
export default async function Page({
 | 
			
		||||
  params,
 | 
			
		||||
}: {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user