rwx concurrency-pools

List and inspect concurrency pools and their queues.

Usage

rwx concurrency-pools  [flags]

Subcommands

  • list - List concurrency pools
  • show - Show a concurrency pool, its queue, and its recent runs

Pool status

  • paused: the pool is paused. This takes precedence over the other statuses.
  • active: the pool's queue is not empty.
  • idle: the pool's queue is empty.

Queue

A pool's queue contains the runs holding capacity in the pool as well as the runs waiting for it, so the queue size counts both. Each run in the queue holds a lease in one of these states:

  • requested: the run is waiting for capacity.
  • acquired: the run holds capacity.
  • revoked: a newer run with on-overflow: cancel-running is cancelling this run. It keeps its capacity until the cancellation finishes.

Global options

--format <format>

Output format: text or json. Defaults to text.

--json

Output JSON data to stdout. Equivalent to --format json.

--access-token <token>

The access token for RWX. Defaults to the value of the $RWX_ACCESS_TOKEN environment variable.