mongoc_write_concern_get_wtimeout man page

mongoc_write_concern_get_wtimeout ā€” mongoc_write_concern_get_wtimeout()

Synopsis

int32_t
mongoc_write_concern_get_wtimeout (const mongoc_write_concern_t *write_concern);

Parameters

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.

Author

MongoDB, Inc

Info

Aug 10, 2017 1.7.0 MongoDB C Driver