mongoc_write_concern_get_wtimeout - Man Page
Synopsis
int32_t mongoc_write_concern_get_wtimeout (const mongoc_write_concern_t *write_concern);
Parameters
- write_concern: A mongoc_write_concern_t.
Description
Get the timeout in milliseconds that the server should wait before returning with a write concern timeout.
A value of 0 indicates no write timeout.
Returns
Returns an 32-bit signed integer containing the timeout.
SEE ALSO:
mongoc_write_concern_set_wtimeout() and mongoc_write_concern_get_wtimeout_int64().
Author
MongoDB, Inc
Copyright
2017-present, MongoDB, Inc
Info
Dec 06, 2023 1.25.2 libmongoc