File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -160,13 +160,14 @@ mongoc_write_concern_get_w (const mongoc_write_concern_t *write_concern)
160
160
161
161
/**
162
162
* mongoc_write_concern_set_w:
163
- * @w: The number of nodes for write or -1 for "majority".
163
+ * @w: The number of nodes for write or MONGOC_WRITE_CONCERN_W_MAJORITY
164
+ * for "majority".
164
165
*
165
166
* Sets the number of nodes that must acknowledge the write request before
166
167
* acknowledging the write request to the client.
167
168
*
168
- * You may specifiy @w as -1 to request that a "majority" of nodes
169
- * acknowledge the request.
169
+ * You may specifiy @w as MONGOC_WRITE_CONCERN_W_MAJORITY to request that
170
+ * a "majority" of nodes acknowledge the request.
170
171
*/
171
172
void
172
173
mongoc_write_concern_set_w (mongoc_write_concern_t * write_concern ,
You can’t perform that action at this time.
0 commit comments