-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.6.4
-
Component/s: Internal Client
-
Labels:None
-
Environment:Linux
Hi, we're now integrating mongodb into our products using C++ driver. We noticed that the client sometimes gets blocked forever, when the server is in high load.
To solve this problem, setting the client-side timeout seems good idea. I looked at the code, and DBClientConnection has timeout parameter for the constructor. But we cannot specify that parameter via ScopedDbConnection.
Could you add that API?