We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have just looked at r2d2-postgres and saw the problem:
let manager = PostgresPoolManager::new("postgres://postgres@localhost/wrong", NoSsl); let config = r2d2::Config { pool_size: 5, test_on_check_out: true, ..std::default::Default::default() }; let handler = r2d2::NoopErrorHandler; let pool = r2d2::Pool::new(config, manager, handler).unwrap(); pool.get().unwrap(); // blocks forever
The text was updated successfully, but these errors were encountered:
Yep, it's a bummer. This and some other improvements are blocked on rust-lang/rust#17094.
Sorry, something went wrong.
This has been fixed in the most recent r2d2 releases.
No branches or pull requests
I have just looked at r2d2-postgres and saw the problem:
The text was updated successfully, but these errors were encountered: