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

@ -64,6 +64,7 @@ func (r *RootCmd) server() *clibase.Cmd {
DERPServerRelayAddress: options.DeploymentValues.DERP.Server.RelayURL.String(),
DERPServerRegionID: int(options.DeploymentValues.DERP.Server.RegionID.Value()),
Options: options,
ProxyHealthInterval: options.DeploymentValues.ProxyHealthStatusInterval.Value(),
}
api, err := coderd.New(ctx, o)