Relative Content

Tag Archive for laravellaravel-horizon

Laravel Horizon v5.30.1 – Wrong workers restart policy

I’ve been exploring Laravel 11 for a few weeks.
Today, I had to manage a queue system using Laravel Horizon v5.30.1 for the first time.
The issue is that, even after configuring all supervisor options for the “default” queue, Horizon is behaving strangely.

In Laravel Horizon, how do you get data to show up in the “Data” section?

In Laravel Horizon, if you select a job, there is a section on that page labelled “Data”. Mine is blank, but I would love to put some data there, so I know what’s going on. I have a class that implements “ShouldQueue”. Where do I put my data in this class so that it shows up in the “Data” section?