Skip to content

Commit 67f2b30

Browse files
committed
Don't reset RTT on error in RTT monitor
This avoids ever having a 0 value for RTT JAVA-3626
1 parent 8b9ca45 commit 67f2b30

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

driver-core/src/main/com/mongodb/internal/connection/DefaultServerMonitor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ public void run() {
398398
connection.close();
399399
connection = null;
400400
}
401-
averageRoundTripTime.reset();
402401
}
403402
waitForNext();
404403
}

0 commit comments

Comments
 (0)