laravel / horizon

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

Fix the job repository class based on service bindings #1333

Closed daison12006013 closed 1 year ago

daison12006013 commented 1 year ago

Basically when extending the RedisJobRepository.php it doesn't work properly when calling horizon:clear I've noticed that we're not using the one inside the ServiceBindings.php, the code currently calling the original RedisJobRepository

PS: In our project, I was able to make the redis-cluster worked, the only remaining issue is this horizon:clear

Extended the class image

Our redis-cluster production image

taylorotwell commented 1 year ago

The purge method doesn't appear on the interface?