Skip to content

Commit

Permalink
doc: fix default values
Browse files Browse the repository at this point in the history
  • Loading branch information
msaf1980 committed Feb 21, 2024
1 parent b866b8d commit 6a30cb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions doc/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6a30cb8

Please sign in to comment.