> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# global_concurrency_limit

# `prefect.cli.global_concurrency_limit`

Global-concurrency-limit command — native cyclopts implementation.

Manage global concurrency limits.

## Functions

### `ls` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/global\_concurrency\_limit.py#L31](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/global_concurrency_limit.py#L31)</sup>

```python theme={null}
ls()
```

List all global concurrency limits.

### `inspect` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/global\_concurrency\_limit.py#L100](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/global_concurrency_limit.py#L100)</sup>

```python theme={null}
inspect(name: str)
```

Inspect a global concurrency limit.

### `delete` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/global\_concurrency\_limit.py#L156](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/global_concurrency_limit.py#L156)</sup>

```python theme={null}
delete(name: str)
```

Delete a global concurrency limit.

### `enable` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/global\_concurrency\_limit.py#L182](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/global_concurrency_limit.py#L182)</sup>

```python theme={null}
enable(name: str)
```

Enable a global concurrency limit.

### `disable` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/global\_concurrency\_limit.py#L207](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/global_concurrency_limit.py#L207)</sup>

```python theme={null}
disable(name: str)
```

Disable a global concurrency limit.

### `update` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/global\_concurrency\_limit.py#L232](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/global_concurrency_limit.py#L232)</sup>

```python theme={null}
update(name: str)
```

Update a global concurrency limit.

**Examples:**

```bash theme={null}
$ prefect global-concurrency-limit update my-gcl --limit 10
$ prefect gcl update my-gcl --active-slots 5
$ prefect gcl update my-gcl --slot-decay-per-second 0.5
$ prefect gcl update my-gcl --enable
$ prefect gcl update my-gcl --disable --limit 5
```

### `create` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/global\_concurrency\_limit.py#L328](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/global_concurrency_limit.py#L328)</sup>

```python theme={null}
create(name: str)
```

Create a global concurrency limit.

**Examples:**

```bash theme={null}
$ 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 --disable
```
