Skip to content

Fix max idle overtaking lambda timeout #10

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

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Conversation

mantoni
Copy link
Member

@mantoni mantoni commented Aug 28, 2024

When max_idle is smaller than the lambda's configured timeout, the function was terminated too early.

With this patch, the idle timer is cleared on function invocation and started again when the lambda returned.

Copy link

@jsbuzz jsbuzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 ✨

@mantoni mantoni merged commit 446db5c into main Aug 28, 2024
2 checks passed
@mantoni mantoni deleted the fix-idle-overtaking-timeout branch August 28, 2024 14:49
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

Successfully merging this pull request may close these issues.

2 participants