10.3. HTTP connection counts
You can control the number of simultaneous HTTP connections handled by Red Hat Quay using environment variables. These limits apply either globally or can be scoped to individual components (registry, web UI, or security scanning). By default, each worker process allows up to 50 parallel connections.
This setting is distinct from the number of worker processes.
These connection-related environment variables can be configured differently depending on your deployment type:
-
In standalone deployments, configure connection counts in the
config.yamlfile. -
In Red Hat Quay on OpenShift Container Platform deployments, define the values in the
envblock of theQuayRegistryCR.
| Variable | Type | Description |
|---|---|---|
| WORKER_CONNECTION_COUNT | Number |
Global default for the maximum number of HTTP connections per worker process. |
| WORKER_CONNECTION_COUNT_REGISTRY | Number |
HTTP connections per registry worker. |
| WORKER_CONNECTION_COUNT_WEB | Number |
HTTP connections per web UI worker. |
| WORKER_CONNECTION_COUNT_SECSCAN | Number |
HTTP connections per Clair security scanner worker. |
HTTP connection configuration for standalone Red Hat Quay deployments
WORKER_CONNECTION_COUNT: 10
WORKER_CONNECTION_COUNT_REGISTRY: 10
WORKER_CONNECTION_COUNT_WEB: 10
WORKER_CONNECTION_COUNT_SECSCAN: 10
HTTP connection configuration for Red Hat Quay on OpenShift Container Platform
env:
- name: WORKER_CONNECTION_COUNT
value: "10"
- name: WORKER_CONNECTION_COUNT_REGISTRY
value: "10"
- name: WORKER_CONNECTION_COUNT_WEB
value: "10"
- name: WORKER_CONNECTION_COUNT_SECSCAN
value: "10"