Continue other indexing tasks while Goggles classification runs

This commit is contained in:
Mononaut
2024-02-19 02:43:19 +00:00
parent 7fb699a02b
commit 69dc21d232
2 changed files with 10 additions and 1 deletions

View File

@@ -185,7 +185,8 @@ class Indexer {
await blocks.$generateCPFPDatabase();
await blocks.$generateAuditStats();
await auditReplicator.$sync();
await blocks.$classifyBlocks();
// do not wait for classify blocks to finish
blocks.$classifyBlocks();
} catch (e) {
this.indexerRunning = false;
logger.err(`Indexer failed, trying again in 10 seconds. Reason: ` + (e instanceof Error ? e.message : e));