Thanks to visit codestin.com
Credit goes to github.com

Skip to content

is it possible to pause a queue? #551

@pthieu

Description

@pthieu

I currently use GCP cloud tasks at my current job and would like to move our queues in-house to simplify our infra.

pg-boss is doing everything we currently need it to do, except there doesn't seem to be a way to pause/unpause the queue. According to the docs, we might be able to do a .deleteQueue(), but as it stands now, we have to delete all the jobs in the table for this to not violate the FK constraint, see this

The unpause/pause is good for us to temporarily stop the queue without losing job data. There have been times when an external service we're calling breaks down and we had to pause a queue to investigate.

Here's a screenshot of GCP's UI for this:

Image

Would this be something that pg-boss will support in the future or is it out of scope by design?

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