Increased Netlify Function timeouts not respected by netlify dev
#6481
Labels
type: bug
code to address defects in shipped code
netlify dev
#6481
Describe the bug
We use Netlify Functions with an increased timeout (26s), but when using
netlify dev
, thelambda-local
package is provided with 10s, and thus we see a 10s timeout on our Functions locally.It appears as though the 10s comes from here:
cli/src/utils/dev.ts
Lines 93 to 94 in e87e5ad
The line to override that with "site configuration" is here:
cli/src/utils/dev.ts
Line 125 in e87e5ad
But upon debugging,
siteInfo.functions_config?.timeout
does not exist. However,siteInfo.functions_timeout
does. Should the code be using that instead?Steps to reproduce
Configuration
No response
Environment
We are using a very outdated version of netlify-cli, but the issue still exists in
main
/the latest versionThe text was updated successfully, but these errors were encountered: