Force rebuild of scores
This commit is contained in:
parent
85393b0d40
commit
f8dc1d9eae
@ -126,6 +126,9 @@ public class ScoreList
|
||||
|
||||
public int[] getAllValues(Long fromTimestamp, Long toTimestamp, Integer divisor)
|
||||
{
|
||||
// Force rebuild of the score table
|
||||
getNewestValue();
|
||||
|
||||
Long offset = toTimestamp - (divisor - 1) * DateHelper.millisecondsInOneDay;
|
||||
|
||||
String query = "select ((timestamp - ?) / ?) as time, avg(score) from Score " +
|
||||
|
||||
Loading…
Reference in New Issue
Block a user