-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 3.6.2
-
Component/s: None
-
Empty show more show less
When connecting to mongoDB setting
connectTimeoutMS: 0
the mongodb client emits a MongoNetworkTimeoutError every times the heartbeat expires. (defaults to every 10 seconds).
It could be that at
https://github.com/mongodb/node-mongodb-native/blob/3.6/lib/core/sdam/monitor.js#L208
The socket timeout is equated to the heartbeat timeout, resulting in a socket failure?