logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

void

Author

       MongoDB, Inc

Parameters

client: A mongoc_client_t.

       • timeoutms: The requested timeout value in milliseconds.

       SEEALSO:URIConnectionOptions

Synopsis

          void
          mongoc_client_set_sockettimeoutms (mongoc_client_t *client, int32_t timeoutms);

       Change the sockettimeoutms of the mongoc_client_t.

       If  client was obtained from a mongoc_client_pool_t, the socket timeout is restored to the previous value
       when calling mongoc_client_pool_push().

See Also