chore: add proxy health interval flag/env config (#7919)

* chore: plumbing for proxy health interval from flag/env
This commit is contained in:
Steven Masley
2023-06-08 12:58:24 -05:00
committed by GitHub
parent fa8153a0fd
commit a4cc883be1
10 changed files with 41 additions and 0 deletions

View File

@ -586,6 +586,17 @@ Serve prometheus metrics on the address defined by prometheus address.
Number of provisioner daemons to create on start. If builds are stuck in queued state for a long time, consider increasing this.
### --proxy-health-interval
| | |
| ----------- | ------------------------------------------------ |
| Type | <code>duration</code> |
| Environment | <code>$CODER_PROXY_HEALTH_INTERVAL</code> |
| YAML | <code>networking.http.proxyHealthInterval</code> |
| Default | <code>1m0s</code> |
The interval in which coderd should be checking the status of workspace proxies.
### --proxy-trusted-headers
| | |