Base expiry on update frequency

This commit is contained in:
softsimon
2023-08-04 13:26:19 +09:00
parent 6bcea3abf9
commit c779a0f55b
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ export interface PriceHistory {
class PriceUpdater {
public historyInserted = false;
private timeBetweenUpdatesMs = 3600000 / config.MEMPOOL.PRICE_UPDATES_PER_HOUR;
private timeBetweenUpdatesMs = 360_0000 / config.MEMPOOL.PRICE_UPDATES_PER_HOUR;
private cyclePosition = -1;
private firstRun = true;
private lastTime = -1;