mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
switch to dbStats, only display fileSize if it exists
This commit is contained in:
@@ -182,7 +182,7 @@
|
||||
db.command({'serverStatus': 1}, next);
|
||||
},
|
||||
stats: function(next) {
|
||||
db.stats({}, next);
|
||||
db.command({'dbStats': 1}, next);
|
||||
},
|
||||
listCollections: function(next) {
|
||||
db.listCollections().toArray(function(err, items) {
|
||||
|
||||
Reference in New Issue
Block a user