dherault / dherault/serverless-offline

How to set timeout properly

Open
#1,741 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.