Skip to content

default worker priorities don't play nicely with smaller worker count #216

@bgentry

Description

@bgentry

The --worker-count arg defaults to 6. However, when trying to migrate over to this new version I decided to try it with 1 worker locally while I worked through bugs in my jobs.

I noticed that I had a bunch of jobs piling up locally, and it took me awhile to realize it was because of the --worker-priorities option:

--worker-priorities [LIST]   List of priorities to assign to workers, unspecified workers take jobs of any priority (default: 10,30,50)

Because that defaults to 10,30,50, when running fewer than 4 workers, no jobs with a priority number above 50 (such as the default 100) will run. It seems like these options will probably need to be set in tandem for many people.

Maybe there's a better way of setting these options up out-of-the-box to avoid confusing behavior like this?

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