Make sure to reset hashrates indexing flags upon error

This commit is contained in:
nymkappa
2022-03-05 16:23:01 +01:00
parent c398d164ba
commit 92dc5a78d8
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() {