added more metrics to the status request

This commit is contained in:
2019-06-03 12:20:01 +02:00
parent a6bb0a7afe
commit e89201c951
3 changed files with 11 additions and 3 deletions

View File

@ -165,8 +165,6 @@ class CacheController {
val initDelay3h = (10800000 - ((currentTime + 3600000) % 10800000)) + 60000
val initDelay1h = (3600000 - ((currentTime + 3600000) % 3600000)) + 60000
println(initDelay1h / 1000)
// update courseList every 24 hours (time in ms)
Timer().scheduleAtFixedRate(initDelay24h, 86400000) {
asyncUpdateCourseList()