Polls the health endpoint until the proxy reports ready. Useful in Procfiles, scripts, and CI pipelines to ensure the proxy is accepting connections before starting dependent applications.Documentation Index
Fetch the complete documentation index at: https://docs.codezero.io/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Options
| Option | Default | Description |
|---|---|---|
--url | derived from config, else http://127.0.0.1:6790/health | Health check URL. Overrides and conflicts with --config and --scope. |
--config, -c | — | Read listen from this config file. Mutually exclusive with --url and --scope. |
--scope | project | Read listen from the selected scope’s config. Mutually exclusive with --url and --config. |
--timeout | 30 | Timeout in seconds |
--url, cordon wait uses the selected config’s listen port. With no flags, it tries project scope first and falls back to http://127.0.0.1:6790/health if no project config exists.
Examples
Exit codes
| Code | Meaning |
|---|---|
0 | Proxy is ready |
1 | Timeout reached — proxy did not become ready |