Add a default to ephemeral_node_inactivity_timeout
This commit is contained in:
parent
95824ac2ec
commit
fd3a1c13e3
1 changed files with 2 additions and 0 deletions
|
@ -160,6 +160,8 @@ func LoadConfig(path string, isFile bool) error {
|
||||||
viper.SetDefault("logtail.enabled", false)
|
viper.SetDefault("logtail.enabled", false)
|
||||||
viper.SetDefault("randomize_client_port", false)
|
viper.SetDefault("randomize_client_port", false)
|
||||||
|
|
||||||
|
viper.SetDefault("ephemeral_node_inactivity_timeout", "120s")
|
||||||
|
|
||||||
if err := viper.ReadInConfig(); err != nil {
|
if err := viper.ReadInConfig(); err != nil {
|
||||||
return fmt.Errorf("fatal error reading config file: %w", err)
|
return fmt.Errorf("fatal error reading config file: %w", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue