1MONGOC_WRITE_CONCERN_SET_WTIMEOUMTo_nIgNoTDM6BO4N(CG3O)DCr_iWvReIrTE_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
21 returning with a write concern timeout. This is not the same as a
22 socket timeout. A value of zero may be used to indicate no write con‐
23 cern timeout.
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.15.2 NovM0O6N,GO2C0_1W9RITE_CONCERN_SET_WTIMEOUT_INT64(3)