mirror of
https://github.com/zoriya/flood.git
synced 2026-06-03 19:21:48 +00:00
fix: run compaction every interval (#834)
This commit is contained in:
@@ -31,6 +31,7 @@ class Users {
|
||||
});
|
||||
|
||||
db.ensureIndex({fieldName: 'username', unique: true});
|
||||
db.setAutocompactionInterval(config.dbCleanInterval);
|
||||
|
||||
return db;
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user