Skip to content

Refactor queue config settings #122

@jkemp101

Description

@jkemp101

Right now a queue's configuration is spread across multiple keys in the config. We should move to something like this instead and stop using the separate settings ONLY_QUEUES, BATCH_QUEUES, SINGLE_WORKER_QUEUES/MAX_WORKERS_PER_QUEUE?

QUEUES = {
    'a': {
        max_workers: 5,
        batch: 50
    },
    'b': {}
}

The SINGLE_WORKER_QUEUES setting should be deprecated since MAX_WORKERS_PER_QUEUE=1 is equivalent. Max workers was added in #115.

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