Skip to content

Cancelling scheduled jobs #18

Open
@NickTsitlakidis

Description

@NickTsitlakidis

Hello everyone.

First of all, thanks for the very nice abstraction you have implemented here. It makes using Graphile with nest very easy and clean.

I'm mostly using the queues with scheduled jobs and I have cases where a scheduled job might need to be cancelled.

Based on my understanding this is supported by Graphile : https://worker.graphile.org/docs/admin-functions#complete-jobs

So I'm wondering if this could be added as a method to the WorkerService.

For example, if we have access to the job id when we do WorkerService.addJob(), then at some point in the future, this id could be used to mark the job as completed using a new method.

Let me know if this would be of interest to you and if you are interested I can make a PR for it.

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