We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8c9d6c commit a9daf4dCopy full SHA for a9daf4d
lib/collection.js
@@ -29,7 +29,7 @@ function Collection(name, conn, opts) {
29
this.collectionName = name;
30
this.conn = conn;
31
this.queue = [];
32
- this.buffer = true;
+ this.buffer = !conn?._hasOpened;
33
this.emitter = new EventEmitter();
34
35
if (STATES.connected === this.conn.readyState) {
0 commit comments