You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to be able to exclude delayed jobs in a "jobs" method. We use metrics for monitoring and alerts in case jobs for some reason begin to accumulate in the queue and now delayed jobs have to be filtered on the perl-side, which significantly affects performance.
I understand that I can just make a SQL-query directly to the database, but this is a kludge and I would like to have an honest filter in the minions API.
Something like:
# Count waiting jobs
say $minion->jobs({waiting => 1})->total;
The text was updated successfully, but these errors were encountered:
It would be great to be able to exclude delayed jobs in a "jobs" method. We use metrics for monitoring and alerts in case jobs for some reason begin to accumulate in the queue and now delayed jobs have to be filtered on the perl-side, which significantly affects performance.
I understand that I can just make a SQL-query directly to the database, but this is a kludge and I would like to have an honest filter in the minions API.
Something like:
The text was updated successfully, but these errors were encountered: