fix: add default for protocol.s5.p2p.maxOutgoingPeerFailures

This commit is contained in:
Derrick Hammer 2024-01-15 11:50:31 -05:00
parent 4b1622511e
commit 8ab200541e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

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