mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 20:34:02 +03:00
support for test dc1-3
loading custom dc ips from config
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user