mongodb-core
Advanced tools
Comparing version 1.1.17 to 1.1.18
@@ -0,1 +1,5 @@ | ||
1.1.18 03-17-2015 | ||
----------------- | ||
- Added support for minHeartbeatFrequencyMS on server reconnect according to the SDAM specification. | ||
1.1.17 03-16-2015 | ||
@@ -2,0 +6,0 @@ ----------------- |
@@ -135,3 +135,3 @@ "use strict"; | ||
? options.secondaryOnlyConnectionAllowed : false | ||
, haInterval: options.haInterval || 5000 | ||
, haInterval: options.haInterval || 10000 | ||
// Are we running in debug mode | ||
@@ -169,2 +169,4 @@ , debug: typeof options.debug == 'boolean' ? options.debug : false | ||
, authInProgressServers: [] | ||
// Minimum heartbeat frequency used if we detect a server close | ||
, minHeartbeatFrequencyMS: 500 | ||
} | ||
@@ -1208,2 +1210,7 @@ | ||
if(found && state.emitError && self.listeners('error').length > 0) self.emit('error', err, server); | ||
// Fire off a detection of missing server using minHeartbeatFrequencyMS | ||
setTimeout(function() { | ||
replicasetInquirer(self, self.s, true)(); | ||
}, self.s.minHeartbeatFrequencyMS); | ||
} | ||
@@ -1218,2 +1225,7 @@ } | ||
if(!found) self.emit('left', state.replState.remove(server), server); | ||
// Fire off a detection of missing server using minHeartbeatFrequencyMS | ||
setTimeout(function() { | ||
replicasetInquirer(self, self.s, true)(); | ||
}, self.s.minHeartbeatFrequencyMS); | ||
} | ||
@@ -1228,2 +1240,7 @@ } | ||
if(!found) self.emit('left', state.replState.remove(server), server); | ||
// Fire off a detection of missing server using minHeartbeatFrequencyMS | ||
setTimeout(function() { | ||
replicasetInquirer(self, self.s, true)(); | ||
}, self.s.minHeartbeatFrequencyMS); | ||
} | ||
@@ -1230,0 +1247,0 @@ } |
{ | ||
"name": "mongodb-core", | ||
"version": "1.1.17", | ||
"version": "1.1.18", | ||
"description": "Core MongoDB driver functionality, no bells and whistles and meant for integration not end applications", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7654
301142
33
1
0