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

Add experimental feature for Lambda specific support #91

Merged
merged 2 commits into from
Mar 2, 2024

Conversation

rbygrave
Copy link
Member

@rbygrave rbygrave commented Mar 1, 2024

Lambda can suspend and when that occurs the background trimming of idle connections also suspends. This adds a check when obtaining a connection to detect if there are old idle connections that should be trimmed.

As we check against nextTrimTime a lot more.
@rbygrave rbygrave added this to the 8.12 milestone Mar 1, 2024
@rbygrave rbygrave self-assigned this Mar 1, 2024
Lambda can suspend and when that occurs the background trimming of idle connections also suspends. This adds a check when obtaining a connection to detect if there are old idle connections that should be trimmed.
@rbygrave rbygrave changed the title Refactor internals for nextTrimTime to lastTrimTime Add experimental feature for Lambda specific support Mar 2, 2024
@rbygrave rbygrave merged commit 565feb9 into master Mar 2, 2024
2 checks passed
@rbygrave rbygrave deleted the feature/nextTrimTime branch March 2, 2024 05:24
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.

1 participant