diff --git a/backend/src/tasks/price-updater.ts b/backend/src/tasks/price-updater.ts index bfdce5f8c..5cbb68ee7 100644 --- a/backend/src/tasks/price-updater.ts +++ b/backend/src/tasks/price-updater.ts @@ -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); } /**