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) }