We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
The timeout setting in my serverless.yml doesn't work. Deployed functions have their default 10 seconds.
timeout
serverless.yml
For me this is especially important for pages/api functions, not just pages
pages/api
pages
Steps to reproduce
Deploy a project with one of the following configs:
# serverless.yml my-app: component: serverless-next.js inputs: timeout: 90 memory: 1024
# serverless.yml my-app: component: serverless-next.js inputs: timeout: apiLambda: 90 memory: apiLambda: 1024
Expected behavior My timeout setting to be equal 1 minute 30 seconds.
Screenshots Btw, memory input works, but timeout doesn't:
memory
Desktop:
Serverless versions: Framework Core: 1.60.4 Plugin: 3.2.6 SDK: 2.2.1 Components Core: 1.1.2 Components CLI: 1.4.0
"serverless-next.js": "1.7.3"
Additional context I'm trying to mitigate 503 error, which seems to be pretty popular:
#181 #222 #146
My pages/api function is pretty time consuming, will take about a minute (I'm playing with puppeteer and chrome-aws-lambda)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
The
timeout
setting in myserverless.yml
doesn't work. Deployed functions have their default 10 seconds.Steps to reproduce
Deploy a project with one of the following configs:
Expected behavior
My
timeout
setting to be equal 1 minute 30 seconds.Screenshots
Btw,
memory
input works, buttimeout
doesn't:Desktop:
Serverless versions:
Framework Core: 1.60.4
Plugin: 3.2.6
SDK: 2.2.1
Components Core: 1.1.2
Components CLI: 1.4.0
"serverless-next.js": "1.7.3"
Additional context
I'm trying to mitigate 503 error, which seems to be pretty popular:
#181
#222
#146
My
pages/api
function is pretty time consuming, will take about a minute (I'm playing with puppeteer and chrome-aws-lambda)The text was updated successfully, but these errors were encountered: