diff --git a/lib/MongoDB/MongoClient.pm b/lib/MongoDB/MongoClient.pm index 613c126f..549585cd 100644 --- a/lib/MongoDB/MongoClient.pm +++ b/lib/MongoDB/MongoClient.pm @@ -745,6 +745,10 @@ If set to a negative value, socket operations will block indefinitely until the server replies or until the operating system TCP/IP stack gives up. +The driver automatically sets the TCP keepalive option when initializing the +socket. For keepalive related issues, check the MongoDB documentation for +L. + A zero value polls the socket for available data and is thus likely to fail except when talking to a local process (and perhaps even then).