Make sure to reset hashrates indexing flags upon error

This commit is contained in:
nymkappa
2022-03-05 16:23:01 +01:00
parent e0680d032b
commit 23e8da7864
3 changed files with 96 additions and 89 deletions

View File

@@ -167,7 +167,7 @@ class Server {
}
async $resetHashratesIndexingState() {
return await HashratesRepository.$setLatestRunTimestamp(0);
return await HashratesRepository.$setLatestRunTimestamp(0);
}
async $runIndexingWhenReady() {