File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 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> {
633633 } ) ;
634634
635635 const buffer = Buffer . concat ( await finalCommand . toBin ( ) ) ;
636- if ( this . socket . write ( buffer ) ) return ;
637636
637+ if ( this . socket . write ( buffer ) ) return ;
638638 return await once ( this . socket , 'drain' ) ;
639639 }
640640
Original file line number Diff line number Diff line change @@ -58,10 +58,10 @@ interface CommandWriteConcernOptions {
5858 * @see https://www.mongodb.com/docs/manual/reference/write-concern/
5959 */
6060export 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+ */
6565 readonly w ?: W ;
6666 /** Request acknowledgment that the write operation has been written to the on-disk journal */
6767 readonly journal ?: boolean ;
You can’t perform that action at this time.
0 commit comments