You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* this allows use of a single mongoc_client_pool_t even when different timeout values are desired
* note: timeout is restored on mongoc_client_pool_push()
---------
Co-authored-by: Kevin Albertson <[email protected]>
Change the ``sockettimeoutms`` of the :symbol:`mongoc_client_t`.
15
+
16
+
If ``client`` was obtained from a :symbol:`mongoc_client_pool_t`, the socket timeout is restored to the previous value when calling :symbol:`mongoc_client_pool_push`.
17
+
18
+
Parameters
19
+
----------
20
+
21
+
* ``client``: A :symbol:`mongoc_client_t`.
22
+
* ``timeoutms``: The requested timeout value in milliseconds.
0 commit comments