Skip to content

Ensure no connections older than max lifetime are returned#54

Merged
guymers merged 1 commit into
mainfrom
max-lifetime
Dec 28, 2025
Merged

Ensure no connections older than max lifetime are returned#54
guymers merged 1 commit into
mainfrom
max-lifetime

Conversation

@guymers

@guymers guymers commented Dec 28, 2025

Copy link
Copy Markdown
Owner

Currently when a connection is returned it is checked to ensure it is younger than the maximum configured connection lifetime. However only the first connection retrieved from the pool is checked, the fall-back is not. So check the age of the fall-back to ensure no connections are given out that exceed the maximum configured connection lifetime.

Currently when a connection is returned it is checked to ensure it is younger than the maximum
configured connection lifetime. However only the first connection retrieved from the pool is checked,
the fallback is not. So check the age of the fallback to ensure no connections are given out that
exceed the maximum confirued connection lifetime.
@guymers guymers merged commit 66d9656 into main Dec 28, 2025
2 checks passed
@guymers guymers deleted the max-lifetime branch December 28, 2025 03:25
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