File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,8 +27,6 @@ import {
2727export const dynamic = 'force-dynamic'
2828export const runtime = 'nodejs'
2929
30- export const MAX_DURATION = 210
31-
3230const logger = createLogger ( 'FunctionExecuteAPI' )
3331
3432const TAG_PATTERN = createReferencePattern ( )
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export const functionExecuteContract = defineRouteContract({
111111 body : z . object ( {
112112 code : z . string ( ) . min ( 1 , 'Code is required' ) ,
113113 params : unknownRecordSchema . optional ( ) . default ( { } ) ,
114- timeout : z . coerce . number ( ) . int ( ) . positive ( ) . max ( 210_000 ) . optional ( ) ,
114+ timeout : z . coerce . number ( ) . int ( ) . positive ( ) . optional ( ) ,
115115 language : z . nativeEnum ( CodeLanguage ) . optional ( ) . default ( DEFAULT_CODE_LANGUAGE ) ,
116116 outputPath : z . string ( ) . optional ( ) ,
117117 outputFormat : z . string ( ) . optional ( ) ,
You can’t perform that action at this time.
0 commit comments