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()
252
252
253
253
private IServerMonitorFactory CreateServerMonitorFactory ( )
254
254
{
255
- var serverMonitorConnectionSettings = _connectionSettings
256
- . With ( authenticators : new IAuthenticator [ ] { } ) ;
257
-
258
255
var heartbeatConnectTimeout = _tcpStreamSettings . ConnectTimeout ;
259
256
if ( heartbeatConnectTimeout == TimeSpan . Zero || heartbeatConnectTimeout == Timeout . InfiniteTimeSpan )
260
257
{
@@ -275,7 +272,7 @@ private IServerMonitorFactory CreateServerMonitorFactory()
275
272
var serverMonitorStreamFactory = CreateTcpStreamFactory ( serverMonitorTcpStreamSettings ) ;
276
273
277
274
var serverMonitorConnectionFactory = new BinaryConnectionFactory (
278
- serverMonitorConnectionSettings ,
275
+ _connectionSettings ,
279
276
serverMonitorStreamFactory ,
280
277
new EventAggregator ( ) ) ;
281
278
You can’t perform that action at this time.
0 commit comments