Skip to content

Allow editing global concurrency limits via CLI #14750

Open
@abrookins

Description

@abrookins

First check

  • I added a descriptive title to this issue.
  • I used the GitHub search to find a similar request and didn't find it.
  • I searched the Prefect documentation for this feature.

Describe the current behavior

You can create, delete, inspect, list, and reset global concurrency limits via our CLI commands, but you can't edit them.

Describe the proposed behavior

A new prefect concurrency-limit edit command exists that can edit individual options for a limit, mirroring the function of the "edit" page for concurrency limits in the UI (name, limit, slot decay, active). Note that the reset command already resets "active slots," so this probably shouldn't be in the edit options. 🤔

Example Use

prefect concurrency-limit edit my-limit --active yes (or something like that)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the Prefect CLIenhancementAn improvement of an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions