@okf/ootils 1.4.6 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -348,7 +348,6 @@ var require_MongoConnector = __commonJS({
|
|
|
348
348
|
var MongoConnector3 = class _MongoConnector {
|
|
349
349
|
constructor(options) {
|
|
350
350
|
__publicField(this, "initiateConnectionEventListeners", (CLUSTER_NAME) => {
|
|
351
|
-
console.log("in initiate connection listeners");
|
|
352
351
|
this.clusterConnections[CLUSTER_NAME].on("open", () => {
|
|
353
352
|
console.log(`\u2705 Mongoose connection open to ${CLUSTER_NAME}`);
|
|
354
353
|
});
|
|
@@ -377,7 +376,8 @@ var require_MongoConnector = __commonJS({
|
|
|
377
376
|
version: ServerApiVersion.v1
|
|
378
377
|
},
|
|
379
378
|
maxPoolSize: 40,
|
|
380
|
-
minPoolSize: 5
|
|
379
|
+
minPoolSize: 5,
|
|
380
|
+
bufferCommands: false
|
|
381
381
|
};
|
|
382
382
|
_MongoConnector.instance = this;
|
|
383
383
|
if (!this.env) {
|
package/dist/node.mjs
CHANGED
|
@@ -353,7 +353,6 @@ var require_MongoConnector = __commonJS({
|
|
|
353
353
|
var MongoConnector3 = class _MongoConnector {
|
|
354
354
|
constructor(options) {
|
|
355
355
|
__publicField(this, "initiateConnectionEventListeners", (CLUSTER_NAME) => {
|
|
356
|
-
console.log("in initiate connection listeners");
|
|
357
356
|
this.clusterConnections[CLUSTER_NAME].on("open", () => {
|
|
358
357
|
console.log(`\u2705 Mongoose connection open to ${CLUSTER_NAME}`);
|
|
359
358
|
});
|
|
@@ -382,7 +381,8 @@ var require_MongoConnector = __commonJS({
|
|
|
382
381
|
version: ServerApiVersion.v1
|
|
383
382
|
},
|
|
384
383
|
maxPoolSize: 40,
|
|
385
|
-
minPoolSize: 5
|
|
384
|
+
minPoolSize: 5,
|
|
385
|
+
bufferCommands: false
|
|
386
386
|
};
|
|
387
387
|
_MongoConnector.instance = this;
|
|
388
388
|
if (!this.env) {
|