diff --git a/config/config.go b/config/config.go index 88b032f0..d86699b9 100644 --- a/config/config.go +++ b/config/config.go @@ -371,6 +371,8 @@ func New() *Config { ShortTimeoutSec: 0, FindTimeoutSec: 0, }, + DegragedMultiply: 4.0, + DegragedLoad: 1.0, }, ClickHouse: ClickHouse{ URL: "http://localhost:8123?cancel_http_readonly_queries_on_client_close=1", diff --git a/doc/config.md b/doc/config.md index 66af2a3a..8146366f 100644 --- a/doc/config.md +++ b/doc/config.md @@ -195,9 +195,9 @@ Only one tag used as filter for index field Tag1, see graphite_tagged table [str # service discovery base weight (on idle) base_weight = 0 # service discovery degraded load avg multiplier (if normalized load avg > degraged_load_avg) (default 4.0) - degraged_multiply = 0.0 + degraged_multiply = 4.0 # service discovery normilized load avg degraded point (default 1.0) - degraged_load_avg = 0.0 + degraged_load_avg = 1.0 # service discovery type service-discovery-type = 0 # service discovery address (consul)