set indexer flags earlier

This commit is contained in:
Mononaut 2025-12-05 05:28:55 +00:00
parent f1fb054434
commit 56953c5221
No known key found for this signature in database
GPG key ID: A3F058E41374C04E

View file

@ -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();