laravel / horizon

Dashboard and code-driven configuration for Laravel queues.
https://laravel.com/docs/horizon
MIT License
3.83k stars 643 forks source link

Config to display or hide retry button on failed jobs page #1376

Closed steelze closed 7 months ago

steelze commented 7 months ago

Adding a config option to hide/show the retry button on the failed jobs page would be a valuable feature. Setting the default value to true would ensure the button is initially visible.

This will help to restrict the retrying of failed jobs directly from the horizon page. I'm willing to submit a pull request for this, but I'm uncertain about its general acceptance among other contributors.

driesvints commented 7 months ago

Thank you but we have no plans for this right now, sorry.

steelze commented 7 months ago

@driesvints thanks for the reply. I actually have a use case for this on our production environment but don't want to modify the vendor files cos we regularly update our packages. If I make a PR for this will it be considered 🤷‍♂️