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

Improve javadoc of connection pool options #435

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

Ladicek
Copy link
Contributor

@Ladicek Ladicek commented Mar 14, 2024

Fixes #288

@Ladicek
Copy link
Contributor Author

Ladicek commented Mar 14, 2024

The recycle timeout was probably meant to be a timeout after which an unused connection is closed and evicted. However, the existing implementation doesn't do that -- it computes expiration time when the connection is created, and then never updates it. This PR just reflects reality.

It shouldn't be hard to fix that -- whenever the connection is returned back to the connection pool, the expiration time would have to be recomputed. That would be enough. I can do that in a 2nd commit in this PR, or separately. Any thoughts?

@vietj vietj added this to the 5.0.0 milestone Mar 15, 2024
@vietj vietj merged commit 0de8b38 into vert-x3:master Mar 20, 2024
4 checks passed
@heubeck
Copy link

heubeck commented Mar 20, 2024

💟

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

Successfully merging this pull request may close these issues.

Improve connection pool related RedisClientOptions and NetClientOptions parameter documentation
3 participants