mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-24 17:56:29 +00:00
Revert max_wait changes (#658)
* Revert "Reset wait times when checked out successfully (#656)" This reverts commitec3920d60f. * Revert "Not sure how this sneaked past CI" This reverts commit4c5498b915. * Revert "only report wait times from clients currently waiting to match behavior of pgbouncer (#655)" This reverts commit0e8064b049.
This commit is contained in:
@@ -699,7 +699,7 @@ where
|
||||
res.put(row_description(&columns));
|
||||
|
||||
for (_, client) in new_map {
|
||||
let max_wait = client.wait_start.load(Ordering::Relaxed);
|
||||
let max_wait = client.max_wait_time.load(Ordering::Relaxed);
|
||||
let row = vec![
|
||||
format!("{:#010X}", client.client_id()),
|
||||
client.pool_name(),
|
||||
|
||||
Reference in New Issue
Block a user