sid; } /** * Get the middleware the job should pass through. * * @return array */ public function middleware(): array { return [(new WithoutOverlapping("hts:feed:remove:sid:{$this->sid}"))->shared()->dontRelease()]; } /** * Create a new job instance. */ public function __construct($sid, $pid) { $this->sid = $sid; $this->pid = $pid; } /** * Execute the job. */ public function handle(): void { $ids = FollowerService::localFollowerIds($this->pid); foreach($ids as $id) { HomeTimelineService::rem($id, $this->sid); } } }