Propagate DcUpdateEach setting

This commit is contained in:
9seconds
2026-02-16 15:07:56 +01:00
parent 836a481026
commit 308e372a5d
9 changed files with 22 additions and 12 deletions
+3 -2
View File
@@ -65,9 +65,10 @@ type Config struct {
} `json:"prometheus"`
} `json:"stats"`
DCOverrides []struct {
DC TypeDC
DC TypeDC `json:"dc"`
IPs []TypeHostPort `json:"ips"`
} `json:"dc_overrides"`
} `json:"dcOverrides"`
DCUpdateEach TypeDuration `json:"dcUpdateEach"`
}
func (c *Config) Validate() error {