Allow priceUpdater to run without storing to database

This commit is contained in:
softsimon
2023-07-30 15:30:23 +09:00
parent 83a487ecae
commit af4d0b4d3f
3 changed files with 6 additions and 5 deletions

View File

@@ -106,7 +106,7 @@ class Indexer {
}
try {
await priceUpdater.$run();
await priceUpdater.$run(true);
} catch (e) {
logger.err(`Running priceUpdater failed. Reason: ` + (e instanceof Error ? e.message : e));
}