version 1.1.6
All checks were successful
continuous-integration/drone/push Build is passing

* API version 1.1.4
* added /health, returns 200 (OK, for status checks)
* moved status code to a separate class
* added status.mosad.xyz reporting
This commit is contained in:
2019-10-21 18:46:21 +02:00
parent 132cf2df0e
commit db57059727
5 changed files with 205 additions and 94 deletions

View File

@ -48,7 +48,6 @@ class CacheController {
init {
initUpdates()
scheduledUpdates()
//CachetAPIController.postTotalRequests(5)
}
// cache objects
@ -269,7 +268,7 @@ class CacheController {
// post to status.mosad.xyz every hour
Timer().scheduleAtFixedRate(initDelay1h, 3600000) {
// TODO
CachetAPIController.postTotalRequests()
}
}