mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 01:16:30 +00:00
fmt
This commit is contained in:
@@ -1113,7 +1113,10 @@ where
|
|||||||
checkout_failure_count += 1;
|
checkout_failure_count += 1;
|
||||||
if let Some(limit) = pool.settings.checkout_failure_limit {
|
if let Some(limit) = pool.settings.checkout_failure_limit {
|
||||||
if checkout_failure_count >= limit {
|
if checkout_failure_count >= limit {
|
||||||
error!("Checkout failure limit reached ({} / {}) - disconnecting client", checkout_failure_count, limit);
|
error!(
|
||||||
|
"Checkout failure limit reached ({} / {}) - disconnecting client",
|
||||||
|
checkout_failure_count, limit
|
||||||
|
);
|
||||||
error_response_terminal(
|
error_response_terminal(
|
||||||
&mut self.write,
|
&mut self.write,
|
||||||
&format!(
|
&format!(
|
||||||
|
|||||||
Reference in New Issue
Block a user