prefect global-concurrency-limit

prefect global-concurrency-limit [OPTIONS] COMMAND [ARGS]...

Manage global concurrency limits.

prefect global-concurrency-limit ls

prefect global-concurrency-limit ls [OPTIONS]

List all global concurrency limits.

prefect global-concurrency-limit inspect

prefect global-concurrency-limit inspect [OPTIONS] NAME

Inspect a global concurrency limit.

NAME
string
required

The name of the global concurrency limit to inspect. [required]

--output

Output format for the command.

--file

Path to .json file to write the global concurrency limit output to.

prefect global-concurrency-limit delete

prefect global-concurrency-limit delete [OPTIONS] NAME

Delete a global concurrency limit.

NAME
string
required

The name of the global concurrency limit to delete. [required]

prefect global-concurrency-limit enable

prefect global-concurrency-limit enable [OPTIONS] NAME

Enable a global concurrency limit.

NAME
string
required

The name of the global concurrency limit to enable. [required]

prefect global-concurrency-limit disable

prefect global-concurrency-limit disable [OPTIONS] NAME

Disable a global concurrency limit.

NAME
string
required

The name of the global concurrency limit to disable. [required]

prefect global-concurrency-limit update

prefect global-concurrency-limit update [OPTIONS] NAME

Update a global concurrency limit.

NAME
string
required

The name of the global concurrency limit to update. [required]

--enable

Enable the global concurrency limit.

--disable

Disable the global concurrency limit.

--limit

The limit of the global concurrency limit.

--active-slots

The number of active slots.

--slot-decay-per-second

The slot decay per second.

prefect global-concurrency-limit create

prefect global-concurrency-limit create [OPTIONS] NAME

Create a global concurrency limit.

Arguments:

name (str): The name of the global concurrency limit to create.

limit (int): The limit of the global concurrency limit.

disable (Optional[bool]): Create an inactive global concurrency limit.

active_slots (Optional[int]): The number of active slots.

slot_decay_per_second (Optional[float]): The slot decay per second.

Examples:

$ prefect global-concurrency-limit create my-gcl —limit 10

$ prefect gcl create my-gcl —limit 5 —active-slots 3

$ prefect gcl create my-gcl —limit 5 —active-slots 3 —slot-decay-per-second 0.5

$ prefect gcl create my-gcl —limit 5 —inactive

NAME
string
required

The name of the global concurrency limit to create. [required]

--limit

The limit of the global concurrency limit.

--disable

Create an inactive global concurrency limit.

--active-slots

The number of active slots.

--slot-decay-per-second

The slot decay per second.