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

# astro deployment worker-queue update

<Info>
  This command is only available on Astro.
</Info>

Update the settings for an existing [worker queue](/docs/astro/configure-worker-queues) in a Deployment on Astro. This is functionally identical to updating the settings of a worker queue in the Astro UI.

## Usage

```sh wrap theme={null}
astro deployment worker-queue update
```

## Options

| Option                 | Description                                                                                                  | Possible Values                                                       |
| ---------------------- | ------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------- |
| `--concurrency`        | The maximum number of tasks that each worker can run                                                         | Any integer from 1 to 64                                              |
| `-d`,`--deployment-id` | The ID of the Deployment whose worker queue you want to update                                               | Any valid Deployment ID                                               |
| `--deployment-name`    | The name of the Deployment whose worker queue you want to update. Use as an alternative to `<deployment-id>` | Any valid Deployment name                                             |
| `-f` `--force`         | Skip prompting the user to confirm the update                                                                | \`\`                                                                  |
| `--max-count`          | The maximum worker count of the worker queue                                                                 | Any integer from 0 to 30                                              |
| `--min-count`          | The minimum worker count of the worker queue                                                                 | Any integer from 0 to 30                                              |
| `-n`,`--name`          | The name of the worker queue                                                                                 | Any string                                                            |
| `-t`,`--worker-type`   | The worker type of the worker queue                                                                          | Any worker type enabled on the cluster in which the Deployment exists |

## Examples

```sh wrap theme={null}
astro deployment worker-queue update --deployment-id cl03oiq7d80402nwn7fsl3dmv --name="Updated name"
# Update a worker queue's name in a specified Deployment.

astro deployment worker-queue update --concurrency 20 --max-count 10 --min-count 2 --name "My worker queue" --worker-type "m5d.8xlarge"
# Update a new worker queue in a Deployment. The CLI prompts you to specify a Deployment and worker queue to update
```

## Related commands

* [`astro deployment worker-queue create`](/docs/cli/v1.41/astro-deployment-worker-queue-create)
* [`astro deployment worker-queue delete`](/docs/cli/v1.41/astro-deployment-worker-queue-delete)
