fix: add default for protocol.s5.p2p.maxOutgoingPeerFailures
This commit is contained in:
parent
4b1622511e
commit
8ab200541e
|
@ -47,4 +47,6 @@ func Init() error {
|
||||||
func defaults() {
|
func defaults() {
|
||||||
viper.SetDefault("core.post-upload-limit", 1024*1024*1000)
|
viper.SetDefault("core.post-upload-limit", 1024*1024*1000)
|
||||||
viper.SetDefault("core.log.level", "info")
|
viper.SetDefault("core.log.level", "info")
|
||||||
|
|
||||||
|
viper.SetDefault("protocol.s5.p2p.maxOutgoingPeerFailures", 10)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue