I have trouble in understanding mongo driver’s
what is the allowed value for keepAlive? docs1 states that keep alive takes an integer value and docs2 states that keppAlive takes a boolean value and can be used with keepAliveInitialDelay. so any difference b/w these two?
I tried setting value as 0 for
keepAliveInitialDelay, still, I don’t see any difference. so if I set
keepAliveto false/0 does driver re-establish the connection each time? what is the actual purpose of it.
thanks in advance.