Skip to content

Commit e017859

Browse files
committed
fix: set bufferCommands to false
1 parent 24d4c9d commit e017859

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ You should use [@ladjs/graceful][lad-graceful] to manage process SIGHUP and grac
8080
| `applyPluginsToDiscriminators` | Boolean | undefined | set with [mongoose.set][mongoose.set] |
8181
| `autoCreate` | Boolean | undefined | set with [mongoose.set][mongoose.set] |
8282
| `autoIndex` | Boolean | undefined | set with [mongoose.set][mongoose.set] |
83-
| `bufferCommands` | Boolean | undefined | set with [mongoose.set][mongoose.set] |
83+
| `bufferCommands` | Boolean | `false` | set with [mongoose.set][mongoose.set] |
8484
| `bufferTimeoutMS` | Boolean | undefined | set with [mongoose.set][mongoose.set] |
8585
| `debug` | Boolean | undefined | set with [mongoose.set][mongoose.set] |
8686
| `id` | Boolean | undefined | set with [mongoose.set][mongoose.set] |

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ class Mongoose {
2020
}
2121
},
2222
strict: true,
23-
strictQuery: false
23+
strictQuery: false,
24+
bufferCommands: false
2425
},
2526
config
2627
);

0 commit comments

Comments
 (0)