mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
set indexer flags earlier
This commit is contained in:
parent
f1fb054434
commit
56953c5221
1 changed files with 3 additions and 3 deletions
|
|
@ -170,6 +170,9 @@ class Indexer {
|
|||
return;
|
||||
}
|
||||
|
||||
this.runIndexer = false;
|
||||
this.indexerRunning = true;
|
||||
|
||||
if (config.FIAT_PRICE.ENABLED) {
|
||||
try {
|
||||
await priceUpdater.$run();
|
||||
|
|
@ -184,9 +187,6 @@ class Indexer {
|
|||
return;
|
||||
}
|
||||
|
||||
this.runIndexer = false;
|
||||
this.indexerRunning = true;
|
||||
|
||||
logger.debug(`Running mining indexer`);
|
||||
|
||||
await this.checkAvailableCoreIndexes();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue