Skip to content

Commit 2efac78

Browse files
committed
more simplification
1 parent 2e5d684 commit 2efac78

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
@@ -219,7 +219,6 @@ public void run() {
219219

220220
// For POLL mode, if we just established initial connection, do an immediate heartbeat
221221
if (!shouldStreamResponses && connection != null && !connection.isClosed()
222-
&& previousServerDescription.equals(unknownConnectingServerDescription)
223222
&& currentServerDescription.equals(connection.getInitialServerDescription())) {
224223
continue;
225224
}

0 commit comments

Comments
 (0)