laravel / horizon

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

Enhance forget command #1409

Closed jaroslavstefanec closed 4 months ago

jaroslavstefanec commented 4 months ago

As suggested, this pull request enhances the forget command with a new option --all, enabling the removal of all failed jobs.

Benefits to End Users: This addition resolves various discussions regarding how to delete failed jobs and prevents users from resorting to using flushdb to delete only failed jobs.