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