Skip to content

Excluding queued jobs are still showing up #334

@sts-ryan-holton

Description

@sts-ryan-holton

Laravel Package Version

1.22.3

Laravel Version

12.53.0

PHP Version

8.3.29

Database Driver & Version

MySQL 8

Description

Rejecting queued jobs containing a certain word still show up and count towards quota

Steps To Reproduce

Nightwatch::rejectQueuedJobs(function (QueuedJob $job) {
    return str_contains($job->name, 'StoreArchive')
        || str_contains($job->name, 'InvokeQueued')
        || str_contains($job->name, 'UpdateModelLastUsed')
        || str_contains($job->name, 'Health');
});

Note the "StoreArchive" string being excluded. They don't show in "processed" but show in "queued", this doesn't look quite right and shouldn't show up at all. Or, a new helper for rejectProcessedJobs etc should be introduced, thanks.

Image

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