Skip to content

After sending pause signal (USR2) SerialWorker performs a job before it actually pauses #234

@berkcaputcu

Description

@berkcaputcu

Since the check for paused worker is inside the jobs loop (/lib/qless/worker/serial.rb#L25-L36), SerialWorker needs to perform a job before it knows it's paused.

This check should be done before the reserver reserves a job, so the worker can be paused before it takes a job.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions