mirror of
https://github.com/coder/coder.git
synced 2025-07-21 01:28:49 +00:00
chore: Set proxy health checks to 1 minute intervals (#7351)
This commit is contained in:
@ -237,7 +237,7 @@ func New(ctx context.Context, options *Options) (*API, error) {
|
||||
if api.AGPL.Experiments.Enabled(codersdk.ExperimentMoons) {
|
||||
// Proxy health is a moon feature.
|
||||
api.ProxyHealth, err = proxyhealth.New(&proxyhealth.Options{
|
||||
Interval: time.Second * 5,
|
||||
Interval: time.Minute * 1,
|
||||
DB: api.Database,
|
||||
Logger: options.Logger.Named("proxyhealth"),
|
||||
Client: api.HTTPClient,
|
||||
|
Reference in New Issue
Block a user