From 5ee7d7efcbedb33bc9fbbe5e730f769847751f8c Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Wed, 9 Jun 2021 14:13:55 +0300 Subject: [PATCH] [#598] cmd/neofs-ir: Update default config values In testnet and neofs-dev-env we use timers with these settings and they are looking good. So it makes sense to make them default. Storage node now can't configure bootstrap healthcheck length and can't disable it. Inner ring default values now adopt these changes too. Signed-off-by: Alex Vanin --- cmd/neofs-ir/defaults.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/neofs-ir/defaults.go b/cmd/neofs-ir/defaults.go index bd2625933..a65ffd4d3 100644 --- a/cmd/neofs-ir/defaults.go +++ b/cmd/neofs-ir/defaults.go @@ -70,11 +70,11 @@ func defaultConfiguration(cfg *viper.Viper) { cfg.SetDefault("timers.main_notary", "1000") cfg.SetDefault("timers.side_notary", "1000") cfg.SetDefault("timers.stop_estimation.mul", 1) - cfg.SetDefault("timers.stop_estimation.div", 1) + cfg.SetDefault("timers.stop_estimation.div", 4) cfg.SetDefault("timers.collect_basic_income.mul", 1) - cfg.SetDefault("timers.collect_basic_income.div", 1) - cfg.SetDefault("timers.distribute_basic_income.mul", 1) - cfg.SetDefault("timers.distribute_basic_income.div", 1) + cfg.SetDefault("timers.collect_basic_income.div", 2) + cfg.SetDefault("timers.distribute_basic_income.mul", 3) + cfg.SetDefault("timers.distribute_basic_income.div", 4) cfg.SetDefault("notary.side.deposit_amount", 1_0000_0000) // 1.0 Fixed8 cfg.SetDefault("notary.main.deposit_amount", 2000_0000) // 0.2 Fixed8 @@ -86,7 +86,7 @@ func defaultConfiguration(cfg *viper.Viper) { cfg.SetDefault("workers.alphabet", "10") cfg.SetDefault("workers.reputation", "10") - cfg.SetDefault("netmap_cleaner.enabled", false) + cfg.SetDefault("netmap_cleaner.enabled", true) cfg.SetDefault("netmap_cleaner.threshold", 3) cfg.SetDefault("emit.storage.amount", 0)