Skip to content

Deprecate or overhaul Worker.set_resources #6575

@crusaderky

Description

@crusaderky

Worker.set_resources, in theory, lets you change the total resources of a Worker on the fly.

In practice, it's undocumented, it's accessible exclusively from tasks or worker plugins (there's no RPC hook) and, if there are already tasks in 'constrained' state, it won't kick them off.

Should we deprecate it or should we spend time getting it into proper shape? Does anybody use this feature?

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