mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-25 10:06:28 +00:00
Refactor admin (#52)
This commit is contained in:
@@ -337,7 +337,7 @@ impl ConnectionPool {
|
||||
self.addresses[shard].len()
|
||||
}
|
||||
|
||||
pub fn connections(&self, shard: usize, server: usize) -> bb8::State {
|
||||
pub fn pool_state(&self, shard: usize, server: usize) -> bb8::State {
|
||||
self.databases[shard][server].state()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user