server: Actually use caching

Luther Wen Xu 2020-04-23 22:51:45 +07:00
parent ed0e61cf79
commit 2dd0ad173b
Signed by: chanbakjsd
GPG Key ID: B7D77E3E9D102B70
1 changed files with 1 additions and 0 deletions

@ -47,6 +47,7 @@ func getDay(serviceName string, day time.Time) stat {
}
}
result.Summary = convertToResult(result.SuccessCount, result.SampleCount)
dayAggregation[serviceName][day] = result
return result
}