File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/MongoDB.Driver.Core/Core/Configuration Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -252,9 +252,6 @@ private ServerFactory CreateServerFactory()
252252
253253 private IServerMonitorFactory CreateServerMonitorFactory ( )
254254 {
255- var serverMonitorConnectionSettings = _connectionSettings
256- . With ( authenticators : new IAuthenticator [ ] { } ) ;
257-
258255 var heartbeatConnectTimeout = _tcpStreamSettings . ConnectTimeout ;
259256 if ( heartbeatConnectTimeout == TimeSpan . Zero || heartbeatConnectTimeout == Timeout . InfiniteTimeSpan )
260257 {
@@ -275,7 +272,7 @@ private IServerMonitorFactory CreateServerMonitorFactory()
275272 var serverMonitorStreamFactory = CreateTcpStreamFactory ( serverMonitorTcpStreamSettings ) ;
276273
277274 var serverMonitorConnectionFactory = new BinaryConnectionFactory (
278- serverMonitorConnectionSettings ,
275+ _connectionSettings ,
279276 serverMonitorStreamFactory ,
280277 new EventAggregator ( ) ) ;
281278
You can’t perform that action at this time.
0 commit comments