Fix lastHistoricalRun variable to be in seconds

This commit is contained in:
natsoni 2024-03-11 14:28:06 +01:00
parent a5099fed75
commit 8e158e1786
No known key found for this signature in database
GPG Key ID: C65917583181743B

View File

@ -320,7 +320,7 @@ class PriceUpdater {
await this.$insertMissingRecentPrices('hour');
this.historyInserted = true;
this.lastHistoricalRun = new Date().getTime();
this.lastHistoricalRun = Math.round(new Date().getTime() / 1000);
}
/**