@ydv/mongo
Advanced tools
Comparing version 2.2.3 to 2.2.4
@@ -27,4 +27,7 @@ const omit = require('lodash/omit') | ||
bufferCommands: false, // Disable mongoose buffering | ||
bufferMaxEntries: 0, // and MongoDB driver buffering | ||
poolSize: 100 // 20x bigger than the default poolSize | ||
poolSize: 10, | ||
bufferMaxEntries: 0, | ||
reconnectTries: 5000, | ||
useNewUrlParser: true, | ||
useUnifiedTopology: true | ||
} | ||
@@ -31,0 +34,0 @@ if (replicaSet) { |
{ | ||
"name": "@ydv/mongo", | ||
"version": "2.2.3", | ||
"version": "2.2.4", | ||
"repository": "YottaDV/mongo", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -23,2 +23,3 @@ ### @ydv/mongo | ||
Find method in Model class is redifined so that all the find queries return a result equivaluent to find(args).lean(). | ||
Find method in Model class is redifined so that all the find queries return a result equivaluent to find(args).lean(). | ||
``` |
3081
66
25