Skip to main content

prefect global-concurrency-limit

Manage global concurrency limits.

prefect global-concurrency-limit ls

List all global concurrency limits.

Options

--output
Specify an output format. Currently supports: json

prefect global-concurrency-limit inspect

Inspect a global concurrency limit.

Arguments

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

Options

--output
Specify an output format. Currently supports: json
--file
Path to .json file to write the global concurrency limit output to.

prefect global-concurrency-limit delete

Delete a global concurrency limit.

Arguments

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

prefect global-concurrency-limit enable

Enable a global concurrency limit.

Arguments

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

prefect global-concurrency-limit disable

Disable a global concurrency limit.

Arguments

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

prefect global-concurrency-limit update

Update a global concurrency limit.

Arguments

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

Options

--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.
Example:prefectglobalconcurrencylimitupdatemygcllimit10prefect global-concurrency-limit update my-gcl --limit 10 prefect gcl update my-gcl —active-slots 5 prefectgclupdatemygclslotdecaypersecond0.5prefect gcl update my-gcl --slot-decay-per-second 0.5 prefect gcl update my-gcl —enable $ prefect gcl update my-gcl —disable —limit 5

prefect global-concurrency-limit create

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

Arguments

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

Options

--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.