onQueue('high'); } public function uniqueId(): string { return $this->scanId.':'.$this->scannedAt; } /** * @return list */ public function backoff(): array { return [60, 300]; } public function handle(): void { $scan = ImageScan::query()->find($this->scanId); if ($scan instanceof ImageScan) { // Errors fail the run, so it is tried again. ScanNotifications::afterScan($scan, candidateCheck: true); } } }