*/ public array $backoff = [30, 180, 600]; public function __construct( public readonly int $collectionId, public readonly ?int $actorUserId = null, public readonly string $reason = 'queued-health-refresh', ) { $this->onQueue((string) config('collections.v5.queue.name', 'collections')); } public function handle(CollectionHealthService $health): void { $collection = Collection::query()->find($this->collectionId); if (! $collection) { return; } $actor = $this->actorUserId ? User::query()->find($this->actorUserId) : null; $health->refresh($collection, $actor, $this->reason); } }