diff --git a/README.md b/README.md index 8b3cbeb..f7eda59 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ You should use [@ladjs/graceful][lad-graceful] to manage process SIGHUP and grac | `applyPluginsToDiscriminators` | Boolean | undefined | set with [mongoose.set][mongoose.set] | | `autoCreate` | Boolean | undefined | set with [mongoose.set][mongoose.set] | | `autoIndex` | Boolean | undefined | set with [mongoose.set][mongoose.set] | -| `bufferCommands` | Boolean | undefined | set with [mongoose.set][mongoose.set] | +| `bufferCommands` | Boolean | `false` | set with [mongoose.set][mongoose.set] | | `bufferTimeoutMS` | Boolean | undefined | set with [mongoose.set][mongoose.set] | | `debug` | Boolean | undefined | set with [mongoose.set][mongoose.set] | | `id` | Boolean | undefined | set with [mongoose.set][mongoose.set] | diff --git a/index.js b/index.js index 9f7712a..b58a778 100644 --- a/index.js +++ b/index.js @@ -20,7 +20,8 @@ class Mongoose { } }, strict: true, - strictQuery: false + strictQuery: false, + bufferCommands: false }, config );