Document new TODOs

This commit is contained in:
Matej Bačo
2022-10-17 09:12:28 +00:00
parent 6d91c95eeb
commit 90ac87f217
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -653,6 +653,7 @@ App::get('/v1/health')
->desc("Get usage stats of host machine CPU usage from 0 to 100.")
->inject('response')
->action(function (string $name, Response $response) use ($orchestrationPool) {
// TODO: @Meldiron separate into dedicated http server
$systemCores = System::getCPUCores();
$systemUsage = System::getCPUUtilisation() / $systemCores;
$functionsUsage = [];