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

Rust connpool: provide connections in LRU/MRU #7583

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

mmastrac
Copy link
Contributor

Connections were previously provided in a non-deterministic way. This PR changes the connpool to provide connections in MRU for re-use, and LRU for closing idle connections.

@mmastrac mmastrac requested a review from fantix July 19, 2024 18:22
Copy link
Member

@fantix fantix left a comment

Choose a reason for hiding this comment

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

I like the abstraction, allowing us to tweak the implementation separately if needed in the future. 👍

@mmastrac mmastrac merged commit b21d2f9 into geldata:master Jul 23, 2024
24 checks passed
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