Skip to content

Commit

Permalink
fix: set bufferCommands to false
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Jan 31, 2023
1 parent 24d4c9d commit e017859
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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] |
Expand Down
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ class Mongoose {
}
},
strict: true,
strictQuery: false
strictQuery: false,
bufferCommands: false
},
config
);
Expand Down

0 comments on commit e017859

Please sign in to comment.