mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-27 18:56:30 +00:00
todo complete
This commit is contained in:
@@ -183,7 +183,6 @@ impl ConnectionPool {
|
|||||||
allowed_attempts -= 1;
|
allowed_attempts -= 1;
|
||||||
|
|
||||||
// Check if we can connect
|
// Check if we can connect
|
||||||
// TODO: implement query wait timeout, i.e. time to get a conn from the pool
|
|
||||||
let mut conn = match self.databases[shard][index].get().await {
|
let mut conn = match self.databases[shard][index].get().await {
|
||||||
Ok(conn) => conn,
|
Ok(conn) => conn,
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user