Skip to content
New issue

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

How to set timeout properly #1741

Open
peebles opened this issue Nov 3, 2023 · 1 comment
Open

How to set timeout properly #1741

peebles opened this issue Nov 3, 2023 · 1 comment

Comments

@peebles
Copy link

peebles commented Nov 3, 2023

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.

@dnalborczyk
Copy link
Collaborator

dnalborczyk commented Nov 21, 2023

@peebles as far as I know we don't have any automatic retries in place. could you provide a small repro repository?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants