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

Timeout feature disappeared? #1180

Closed
markoj3s opened this issue Feb 17, 2021 · 4 comments · Fixed by #1551
Closed

Timeout feature disappeared? #1180

markoj3s opened this issue Feb 17, 2021 · 4 comments · Fixed by #1551
Assignees
Labels

Comments

@markoj3s
Copy link

Hi!

Seems like timeout cannot occur locally (of course I made sure the --noTimeout was not set) and I can't find any Task timed out after XXX log printing logic inside the serverless-offline source code.
Is this on purpose and --noTimeout is not being used anymore?

To simulate a timeout, I added

await new Promise((resolve) => setTimeout(resolve, 3000));

at the very beginning of my lambda function and set the lambda timeout to timeout: 2

Did I miss something perhaps?

@psamusev
Copy link

Hi everyone. Same for me, timeout doesn't work. Any progress?

@bensquire
Copy link

Any news on this? I too am unable to force a timeout.

@dnalborczyk dnalborczyk self-assigned this Jun 30, 2022
@dnalborczyk
Copy link
Collaborator

I'll have to investigate, this should still be working.

@dnalborczyk
Copy link
Collaborator

#1051

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

Successfully merging a pull request may close this issue.

4 participants