Index new hashrates once every 24 hours

This commit is contained in:
nymkappa
2022-02-21 12:22:20 +09:00
parent cc2890fd60
commit ad51a0101c
7 changed files with 92 additions and 68 deletions

View File

@@ -261,6 +261,10 @@ class DatabaseMigration {
}
}
if (version < 7) {
queries.push(`INSERT INTO state(name, number, string) VALUES ('last_hashrates_indexing', 0, NULL)`);
}
return queries;
}