Open deflexable opened 4 months ago
fix for #132
i have up-to 75 collections in a database.
calling db.collection.stats() simultaneously at Promise.all for this amount of collections causes mongodb to crash and exit
changing to db.command({ collStats: collection.name }) fixes it
db.command({ collStats: collection.name })
db.collection.stats() has also been deprecated and removed
fix for #132
i have up-to 75 collections in a database.
calling db.collection.stats() simultaneously at Promise.all for this amount of collections causes mongodb to crash and exit
changing to
db.command({ collStats: collection.name })
fixes itdb.collection.stats() has also been deprecated and removed