File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -633,8 +633,8 @@ export class Connection extends TypedEventEmitter<ConnectionEvents> {
633
633
} ) ;
634
634
635
635
const buffer = Buffer . concat ( await finalCommand . toBin ( ) ) ;
636
- if ( this . socket . write ( buffer ) ) return ;
637
636
637
+ if ( this . socket . write ( buffer ) ) return ;
638
638
return await once ( this . socket , 'drain' ) ;
639
639
}
640
640
Original file line number Diff line number Diff line change @@ -58,10 +58,10 @@ interface CommandWriteConcernOptions {
58
58
* @see https://www.mongodb.com/docs/manual/reference/write-concern/
59
59
*/
60
60
export class WriteConcern {
61
- /**
62
- * Request acknowledgment that the write operation has propagated to a specified number of mongod instances or to mongod instances with specified tags.
63
- * If w is 0 and is set on the command in the request , the server will not send a response.
64
- */
61
+ /**
62
+ * Request acknowledgment that the write operation has propagated to a specified number of mongod instances or to mongod instances with specified tags.
63
+ * If w is 0 and is set on a write operation , the server will not send a response.
64
+ */
65
65
readonly w ?: W ;
66
66
/** Request acknowledgment that the write operation has been written to the on-disk journal */
67
67
readonly journal ?: boolean ;
You can’t perform that action at this time.
0 commit comments