How to write the sockettimeout configuration of mongodb 2.7.3?

  mongodb, question

How to write the sockettimeout configuration of mongodb 2.7.3?

Do you mean the 2.7 driver version or the server version?

Drive

If it is a driver, which language is the driver? DrivingsocketTimeoutIs a parameter that should never be used. although the connection is disconnected from the client, it may not be received at the serverFINHowever, long-term connection will cause resource leakage. The configuration that should be used ismaxTimeMS.

Server

If it is a server, the odd version is a development version and is not recommended. And this is also a very old test version, playing with it is of little significance. Please find the new beta version3.5.1. If it is not for tasting, it is strongly recommended that you use the official version. The current official version is 3.4.1.