Skip to content

controllers: Replace r2d2 with deadpool #8431

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 22 commits into from
Apr 9, 2024

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Apr 9, 2024

This PR is roughly similar to #8385, but this time all of our API endpoints are ported from the sync r2d2 database connection pool to the async deadpool equivalent.

A couple of minor refactorings were needed in some places, but the semantics should still be similar to before. I guess this is best reviewed commit-by-commit... 😅

@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Apr 9, 2024
@Turbo87 Turbo87 requested a review from a team April 9, 2024 16:31
Copy link
Contributor

@LawnGnome LawnGnome left a comment

Choose a reason for hiding this comment

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

22 browser tabs later, 👍.

@Turbo87 Turbo87 merged commit 3d19e1c into rust-lang:main Apr 9, 2024
@Turbo87 Turbo87 deleted the deadpool-controllers branch April 9, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants