Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Conversation

@danielcondemarin
Copy link
Contributor

@danielcondemarin danielcondemarin commented Jan 4, 2020

Default timeout set to 10 seconds for both the SSR pages lambda and API lambda. To customise the timeouts:

# serverless.yml
myNextApplication:
  component: serverless-next.js
  inputs:
    timeout:
      defaultLambda: 10
      apiLambda: 40

Closes #181
Closes #273

@danielcondemarin danielcondemarin merged commit 236231e into master Jan 4, 2020
@danielcondemarin danielcondemarin deleted the custom-timeout-support branch January 4, 2020 18:36
@cristiam86
Copy link

AWESOME! thank you so much!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting timeout with serverless.yml doesn't work Cloudfront 503 ERROR

3 participants