Skip to content

Limit Concurrent Execution of Tasks of the Same Type #693

Open
@Blejwi

Description

@Blejwi

Hi,

Is there currently a way to limit the number of concurrently running tasks of the same type using db-scheduler?

For example, I have a task called MigrateMerchant and I need to schedule around 10,000 of them. However, since this task is resource-intensive, I’d like to ensure that no more than 2 instances of it run at the same time.

Is this kind of concurrency control possible with db-scheduler, or would it require a custom solution?

Thanks in advance!

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