onQueue(config('nas.health.queue', 'nas-health')); } public function uniqueId(): string { return (string) $this->mikrotikId; } public function handle(MikrotikHealthService $health): void { $mikrotik = NasMikrotik::whereKey($this->mikrotikId)->where('status', 'active')->first(); if (! $mikrotik) { return; } try { $health->check($mikrotik); } catch (Throwable) { // Health service has persisted the offline state and next backoff time. } } }