Delete old unnecessary ping records, store player count records in separate table
This commit is contained in:
@ -22,6 +22,10 @@ class App {
|
||||
// Setup database instance
|
||||
this.database.ensureIndexes(() => {
|
||||
this.database.loadGraphPoints(config.graphDuration, () => {
|
||||
if (config.deleteOldPings) {
|
||||
this.database.initOldPingsDeleter()
|
||||
}
|
||||
|
||||
this.database.loadRecords(callback)
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user