dherault / dherault/serverless-offline
How to set timeout properly
Open
- Dominant language
- JavaScript
- Stars
- 5.3k
- Forks
- 811
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 3
Description
I've set "timeout" in the provider section of the serverless.yml file to 300, and I am calling my function with "RequestResponse". My function takes about 3 minutes or so to run. But serverless offline is retrying my function after 120 seconds, and does this a few times and finally errors out with a [TimeoutError]: Connection timed out after 120000ms. I don't expect any retries.
Contributor guide
Assessment
This issue has not been assessed yet.