Delete old unnecessary ping records, store player count records in separate table

This commit is contained in:
mjezek
2022-03-13 12:47:45 +01:00
parent 9bbc16604a
commit 23b46a3dd5
4 changed files with 98 additions and 1 deletions

View File

@ -63,6 +63,9 @@ class ServerRegistration {
// Append an updated recordData
update.recordData = this.recordData
// Update record in database
this._app.database.updatePlayerCountRecord(this.data.ip, resp.players.online, timestamp)
}
if (this.updateFavicon(resp.favicon)) {