The Hangfire package could benefit from a check of how many enqueued jobs there are, with a configurable maximum that would fail the check.
Why is this needed:
A queue that grows larger then a specified value can indicate several problems, from too much being enqueued to a worker having stopped for some reason.
I have had this working internally for us for a while but wouldn't mind contributing a PR so others can use it.
What would you like to be added:
The Hangfire package could benefit from a check of how many enqueued jobs there are, with a configurable maximum that would fail the check.
Why is this needed:
A queue that grows larger then a specified value can indicate several problems, from too much being enqueued to a worker having stopped for some reason.
I have had this working internally for us for a while but wouldn't mind contributing a PR so others can use it.