Open sevenbitbyte opened 5 years ago
DB cleaning as currently implemented could result in high network activity during cleanup. Use mongo db delete command instead
https://mongoosejs.com/docs/api.html#model_Model.deleteMany
https://docs.mongodb.com/manual/reference/method/db.collection.deleteMany/
DB cleaning as currently implemented could result in high network activity during cleanup. Use mongo db delete command instead
Current implementation
https://mongoosejs.com/docs/api.html#model_Model.deleteMany
https://docs.mongodb.com/manual/reference/method/db.collection.deleteMany/