laravel / horizon

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

[5.x] Customize the lock time for the notification to be re-sent. #1408

Closed ekateiva closed 4 months ago

ekateiva commented 4 months ago

In order to be able to "silent" the notifications about the same long wait times, there could be a setting.

For example, we are aware about the situation for long waiting time in queue and would like to get notifications not so often (now it can not be customized as is sent every 5 minutes). Example in Slack:

Screenshot 2024-04-03 at 15 01 01

This setting could be customizable the same way as waits, where the combination of connection / queue could have it's own setting.

taylorotwell commented 4 months ago

Thanks for your pull request to Laravel!

Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.

If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!

If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.