laravel / horizon

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

Enhance forget command #1409

Closed jaroslavstefanec closed 7 months ago

jaroslavstefanec commented 7 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.