Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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