From 8ab200541e2b2c2bacc90c90f62a5f9239baca27 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 15 Jan 2024 11:50:31 -0500 Subject: [PATCH] fix: add default for protocol.s5.p2p.maxOutgoingPeerFailures --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/config.go b/config/config.go index 0048e72..4d70767 100644 --- a/config/config.go +++ b/config/config.go @@ -47,4 +47,6 @@ func Init() error { func defaults() { viper.SetDefault("core.post-upload-limit", 1024*1024*1000) viper.SetDefault("core.log.level", "info") + + viper.SetDefault("protocol.s5.p2p.maxOutgoingPeerFailures", 10) }