Skip to content

Commit eaff882

Browse files
author
Agnes Lin
committed
refactor: repalce deprecated fn fsync
Signed-off-by: Agnes Lin <[email protected]>
1 parent 1f2297d commit eaff882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mongodb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ MongoDB.prototype.connect = function(callback) {
278278
'password',
279279
'authMechanism',
280280
'compression',
281-
'fsync',
281+
'writeConcern',
282282
'readPreferenceTags',
283283
'numberOfRetries',
284284
'auto_reconnect',

0 commit comments

Comments
 (0)