From dcbc54cec56e199eb5c02a4e80baa22cea102b2e Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 5 Mar 2024 15:16:31 -0500 Subject: [PATCH] refactor: set p2p.max_connection_attempts to 10 --- protocols/s5/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/protocols/s5/config.go b/protocols/s5/config.go index 4397e2f..a5e3d9b 100644 --- a/protocols/s5/config.go +++ b/protocols/s5/config.go @@ -21,6 +21,7 @@ func (c Config) Defaults() map[string]interface{} { "wss://z2DWuPbL5pweybXnEB618pMnV58ECj2VPDNfVGm3tFqBvjF@s5.ninja/s5/p2p", } defaults["db_path"] = "s5.db" + defaults["p2p.max_connection_attempts"] = 10 return defaults }