diff --git a/cmd/neo-exporter/config.go b/cmd/neo-exporter/config.go index 2f28952..70e1faa 100644 --- a/cmd/neo-exporter/config.go +++ b/cmd/neo-exporter/config.go @@ -33,10 +33,10 @@ const ( func DefaultConfiguration(cfg *viper.Viper) { cfg.SetDefault(prefix+delimiter+cfgNeoRPCEndpoint, "") - cfg.SetDefault(prefix+delimiter+cfgNeoRPCDialTimeout, 5*time.Second) + cfg.SetDefault(prefix+delimiter+cfgNeoRPCDialTimeout, time.Minute) cfg.SetDefault(cfgMetricsEndpoint, ":16512") - cfg.SetDefault(cfgMetricsInterval, 15*time.Minute) + cfg.SetDefault(cfgMetricsInterval, 15*time.Second) cfg.SetDefault(cfgLoggerLevel, "info") } diff --git a/config/config.yaml b/config/config.yaml index c823057..251c4e9 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -3,7 +3,7 @@ chain: # If true, monitor connects to the NeoFS chain, otherwise, to the Neo chain. fschain: false rpc: - dial_timeout: 5s + dial_timeout: 60s # stores the interval after which a current connection health check is performed. health_recheck_interval: 5s endpoint: