1MONGOC_WRITE_CONCERN_SET_WTIMEOUT(3)libmongoMcONGOC_WRITE_CONCERN_SET_WTIMEOUT(3)
2
3
4

SYNOPSIS

6          void
7          mongoc_write_concern_set_wtimeout (mongoc_write_concern_t *write_concern,
8                                             int32_t wtimeout_msec);
9

PARAMETERS

11write_concern: A mongoc_write_concern_t.
12
13wtimeout_msec: A positive int32_t or zero.
14

DESCRIPTION

16       Set  the timeout in milliseconds that the server should wait before re‐
17       turning with a write concern timeout. This is not the same as a  socket
18       timeout. A value of zero may be used to indicate no write concern time‐
19       out.
20
21       Beginning in version 1.9.0, this function can now alter the write  con‐
22       cern  after  it  has  been  used in an operation. Previously, using the
23       struct with an operation would mark it as  "frozen"  and  calling  this
24       function would log a warning instead instead of altering the write con‐
25       cern.
26
27       SEE ALSO:
28          mongoc_write_concern_get_wtimeout() and mongoc_write_concern_set_wtimeout_int64().
29
30

AUTHOR

32       MongoDB, Inc
33
35       2017-present, MongoDB, Inc
36
37
38
39
401.25.1                           Nov 08, 20M2O3NGOC_WRITE_CONCERN_SET_WTIMEOUT(3)
Impressum