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

Remove r2d2 database connection pools #8442

Merged
merged 5 commits into from
Apr 10, 2024
Merged

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Apr 10, 2024

This PR completely removes the sync r2d2 database connection pools from our backend server code. All of our code has now been migrated to the deadpool async pools.

There is one small caveat: our crates_io_test_db package is still using r2d2 under the hood. If/How that can be migrated remains to be seen, since it's relying on Drop impls, which are complicated in an async world.

Turbo87 added 5 commits April 10, 2024 16:18
These are not used anywhere anymore.
These functions are no longer used anywhere in our codebase.
These are no longer used anywhere in our codebase.
@Turbo87 Turbo87 requested a review from a team April 10, 2024 14:22
@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Apr 10, 2024
@Turbo87 Turbo87 merged commit 1af5ce3 into rust-lang:main Apr 10, 2024
6 checks passed
@Turbo87 Turbo87 deleted the bye-bye-r2d2 branch April 10, 2024 21:24
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