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

Connection acquire expand #1737

Merged
merged 12 commits into from
Jul 13, 2023
Merged

Conversation

darkmmon
Copy link
Contributor

@darkmmon darkmmon commented Jul 3, 2023

PR Info

  • Dependencies:
  • Dependents:

New Features

  • expanded ConnectionAcquire DbErr to provide more info

Bug Fixes

Breaking Changes

Changes

src/error.rs Outdated
@@ -17,7 +17,7 @@ use thiserror::Error;
pub enum DbErr {
/// This error can happen when the connection pool is fully-utilized
#[error("Failed to acquire connection from pool")]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
#[error("Failed to acquire connection from pool")]
#[error("Failed to acquire connection from pool: {0}")]

@darkmmon darkmmon marked this pull request as ready for review July 10, 2023 02:32
Copy link
Member

@billy1624 billy1624 left a comment

Choose a reason for hiding this comment

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

Thanks!! @darkmmon

@billy1624 billy1624 requested a review from tyt2y3 July 12, 2023 11:05
Copy link
Member

@tyt2y3 tyt2y3 left a comment

Choose a reason for hiding this comment

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

Nicely done

@tyt2y3 tyt2y3 merged commit fd4aab7 into SeaQL:master Jul 13, 2023
72 checks passed
@github-actions
Copy link

github-actions bot commented Aug 2, 2023

🎉 Released In 0.12.1 🎉

Thank you everyone for the contribution!
This feature is now available in the latest release. Now is a good time to upgrade!
Your participation is what makes us unique; your adoption is what drives us forward.
You can support SeaQL 🌊 by starring our repos, sharing our libraries and becoming a sponsor ⭐.

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.

Connection Pool retry option
3 participants