Skip to content

Count in QC::Queue returns scheduled jobs too #246

@jipiboily

Description

@jipiboily

This is a breaking change from before, at least if you were using queue_classic-later, for other people, it's just a new thing.

We should have a count per queue with scheduled jobs, but also one for the jobs that are ready to be processed. As we already pushed out a RC, it's too late to change the behavior of this one IMHO but we could add two news ones for the next RC maybe?

My use case is for Hirefire: https://github.com/meskyanichi/hirefire-resource/blob/bc0b5139602a7142547d6768a4ad3f4ef7622d3f/lib/hirefire/macro/qc.rb

Thoughts @senny?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions