support for test dc1-3

loading custom dc ips from config
This commit is contained in:
2026-04-20 13:04:13 +03:00
parent 9bf7222208
commit c80d3452f0
13 changed files with 221 additions and 1 deletions
+11
View File
@@ -91,6 +91,17 @@ type Config struct {
MetricPrefix TypeMetricPrefix `json:"metricPrefix"`
} `json:"prometheus"`
} `json:"stats"`
DCs struct{
DC1 []TypeHostPort `json:"dc1"`
DC2 []TypeHostPort `json:"dc2"`
DC3 []TypeHostPort `json:"dc3"`
DC4 []TypeHostPort `json:"dc4"`
DC5 []TypeHostPort `json:"dc5"`
DC203 []TypeHostPort `json:"dc203"`
DC10001 []TypeHostPort `json:"dc10001"`
DC10002[]TypeHostPort `json:"dc10002"`
DC10003 []TypeHostPort `json:"dc10003"`
} `json:"dc"`
}
func (c *Config) GetConcurrency(defaultValue uint) uint {