1MONGOC_WRITE_CONCERN_SET_WTIMEOUT_INlTiM6bO4mN(oG3nO)gCo_cWRITE_CONCERN_SET_WTIMEOUT_INT64(3)
2
3
4
6 mongoc_write_concern_set_wtimeout_int64 - mongoc_write_con‐
7 cern_set_wtimeout_int64()
8
10 void
11 mongoc_write_concern_set_wtimeout_int64 (mongoc_write_concern_t *write_concern,
12 int64_t wtimeout_msec);
13
15 • write_concern: A mongoc_write_concern_t.
16
17 • wtimeout_msec: A positive int64_t or zero.
18
20 Set the timeout in milliseconds that the server should wait before re‐
21 turning with a write concern timeout. This is not the same as a socket
22 timeout. A value of zero may be used to indicate no write concern time‐
23 out.
24
25 Beginning in version 1.9.0, this function can now alter the write con‐
26 cern after it has been used in an operation. Previously, using the
27 struct with an operation would mark it as "frozen" and calling this
28 function would log a warning instead instead of altering the write con‐
29 cern.
30
31 See also: mongoc_write_concern_get_wtimeout_int64.
32
34 MongoDB, Inc
35
37 2017-present, MongoDB, Inc
38
39
40
41
421.17.6 JunM0O3N,GO2C0_2W1RITE_CONCERN_SET_WTIMEOUT_INT64(3)