Modified old pings cleanup config, ip as primary key in player records table
This commit is contained in:
@ -23,7 +23,7 @@ class App {
|
||||
this.database.ensureIndexes(() => {
|
||||
this.database.loadGraphPoints(config.graphDuration, () => {
|
||||
this.database.loadRecords(() => {
|
||||
if (config.deleteOldPings) {
|
||||
if (config.oldPingsCleanup && config.oldPingsCleanup.enabled) {
|
||||
this.database.initOldPingsDelete(callback)
|
||||
} else {
|
||||
callback()
|
||||
|
Reference in New Issue
Block a user