Why does the following exception occur from the Mongo C # driver when receiving an object from a MongoDB server?
"Waiting timeout for MongoConnection."
Is there a way to set this connection timeout somewhere or fix this problem?
You can use socketTimeoutMSthe connection string to increase the latency.
socketTimeoutMS
Example:
mongodb://localhost/myCollection?socketTimeoutMS=60000
You have probably encountered this problem:
https://jira.mongodb.org/browse/CSHARP-406
The problem has been fixed, and the fix will be included in version 1.4 of the C # driver (coming soon).
100, :
MongoDB:///MaxPoolSize = 200
, , (, , , ).