public function onReady() { if ($this->isEnabled()) { $this->updateTimer = setTimeout(function ($timer) { $this->updateAllServers(); $timer->timeout(2000000.0); }, 1); } }