From fd3a1c13e31586a7f4e38ec5d6209cfae6162df6 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Sun, 12 Jun 2022 13:12:53 +0000 Subject: [PATCH] Add a default to ephemeral_node_inactivity_timeout --- config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.go b/config.go index 0c600c20..212fe154 100644 --- a/config.go +++ b/config.go @@ -160,6 +160,8 @@ func LoadConfig(path string, isFile bool) error { viper.SetDefault("logtail.enabled", false) viper.SetDefault("randomize_client_port", false) + viper.SetDefault("ephemeral_node_inactivity_timeout", "120s") + if err := viper.ReadInConfig(); err != nil { return fmt.Errorf("fatal error reading config file: %w", err) }