mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 01:16:30 +00:00
nuance
This commit is contained in:
@@ -157,7 +157,7 @@ impl ConnectionPool {
|
||||
|
||||
// Everything is banned, nothig is banned
|
||||
if guard[shard].len() == self.databases[shard].len() {
|
||||
guard.clear();
|
||||
guard[shard].clear();
|
||||
drop(guard);
|
||||
println!(">> Unbanning all replicas.");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user