Skip to content

Commit f476403

Browse files
fix: add maxDuration to PageConfig type (#55918)
1 parent b02a10e commit f476403

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/next/types/index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ export type PageConfig = {
140140
externalResolver?: true
141141
}
142142
env?: Array<string>
143+
/**
144+
* Configures the longest time in seconds a serverless function can process an HTTP
145+
* request before responding.
146+
*/
147+
maxDuration?: number
143148
runtime?: ServerRuntime
144149
unstable_runtimeJS?: false
145150
unstable_JsPreload?: false

0 commit comments

Comments
 (0)