update ranking on server restart

This commit is contained in:
HF 2022-06-19 23:32:30 +02:00
parent 4e45058d46
commit 14cbd75406

View File

@ -27,6 +27,7 @@ class Ranks {
async initialize() {
this.prevTop = await loadDailyTop();
await this.updateRanking();
setInterval(this.updateRanking, 5 * MINUTE);
DailyCron.hook(this.resetDailyRanking);
}