Base expiry on update frequency

This commit is contained in:
softsimon committed 2023-08-04 13:26:19 +09:00
1 parent 2892bfa1d8
commit 07f95acc29
2 files changed
+2 -2

No files matched your search

+1 -1
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;