Fix lastHistoricalRun variable to be in seconds
This commit is contained in:
parent
a5099fed75
commit
8e158e1786
@ -320,7 +320,7 @@ class PriceUpdater {
|
|||||||
await this.$insertMissingRecentPrices('hour');
|
await this.$insertMissingRecentPrices('hour');
|
||||||
|
|
||||||
this.historyInserted = true;
|
this.historyInserted = true;
|
||||||
this.lastHistoricalRun = new Date().getTime();
|
this.lastHistoricalRun = Math.round(new Date().getTime() / 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user