mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 01:16:30 +00:00
:)
This commit is contained in:
@@ -32,6 +32,10 @@ impl ManageConnection for ServerPool {
|
||||
/// Attempts to create a new connection.
|
||||
async fn connect(&self) -> Result<Self::Connection, Self::Error> {
|
||||
println!(">> Getting connetion from pool");
|
||||
|
||||
//
|
||||
// TODO: Pick a random connection from a replica pool here.
|
||||
//
|
||||
Ok(Server::startup(
|
||||
&self.host,
|
||||
&self.port,
|
||||
|
||||
Reference in New Issue
Block a user