Update dashboard with cpu status websockets (#7400)

* Remove setting hardcoded timer

* Use websockets for real-time CPU status on dashboard

* Add system_dashboard service file

* moved javascript file to core
This commit is contained in:
frytimo
2025-06-27 18:25:32 -03:00
committed by GitHub
parent ef076f98a0
commit 807f80da94
6 changed files with 138 additions and 53 deletions
@@ -142,8 +142,6 @@ abstract class base_websocket_system_service extends service implements websocke
// Timers can be set by child classes
if ($this->timer_expire_time !== null && time() >= $this->timer_expire_time) {
$this->on_timer();
// Set another timer to fire again
$this->set_timer(3);
}
}
return 0;