Skip to content

Commit be7a8e6

Browse files
committed
Revert "Reset wait times when checked out successfully (#656)"
This reverts commit ec3920d.
1 parent ec3920d commit be7a8e6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/stats/client.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ impl ClientStats {
109109
/// Reports a client is done querying the server and is no longer assigned a server connection
110110
pub fn idle(&self) {
111111
self.state.store(ClientState::Idle, Ordering::Relaxed);
112-
self.wait_start.store(0, Ordering::Relaxed);
113112
}
114113

115114
/// Reports a client is waiting for a connection
@@ -125,7 +124,6 @@ impl ClientStats {
125124
/// Reports a client is done waiting for a connection and is about to query the server.
126125
pub fn active(&self) {
127126
self.state.store(ClientState::Active, Ordering::Relaxed);
128-
self.wait_start.store(0, Ordering::Relaxed);
129127
}
130128

131129
/// Reports a client has failed to obtain a connection from a connection pool

0 commit comments

Comments
 (0)