Skip to content

Larvel serviceprovider's queue::after event listener prevents manual job release #64

@SajtiDH

Description

@SajtiDH

In the LaravelServiceProvider::boot() there is a handler for the JobProcessed event which deletes the job from the queue.
Currently this is done without any conditions, even if the project uses other queue drivers, or even if the job was manually released previously. In case of manual release the job deletion prevents of the retry of the job, as the event is still dispatched so the job gets deleted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions