diff --git a/lib/core/sdam/topology.js b/lib/core/sdam/topology.js index c16351944b..b58856ec0f 100644 --- a/lib/core/sdam/topology.js +++ b/lib/core/sdam/topology.js @@ -32,8 +32,8 @@ let globalTopologyCounter = 0; // Constants const TOPOLOGY_DEFAULTS = { localThresholdMS: 15, - serverSelectionTimeoutMS: 10000, - heartbeatFrequencyMS: 30000, + serverSelectionTimeoutMS: 30000, + heartbeatFrequencyMS: 10000, minHeartbeatFrequencyMS: 500 }; diff --git a/test/functional/connections_stepdown_tests.js b/test/functional/connections_stepdown_tests.js index 9c012f761c..fb3e2cd81c 100644 --- a/test/functional/connections_stepdown_tests.js +++ b/test/functional/connections_stepdown_tests.js @@ -30,7 +30,7 @@ describe('Connections survive primary step down', function() { beforeEach(function() { client = this.configuration.newClient( { w: 1 }, - { poolSize: 1, retryWrites: false, useUnifiedTopology: true, serverSelectionTimeoutMS: 30000 } + { poolSize: 1, retryWrites: false, useUnifiedTopology: true } ); return client