From 0b44fc4deaa93611c18ffc37c0d52e94036c788b Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Sat, 20 Apr 2024 10:44:10 +0200 Subject: [PATCH] p2p/discover: faster --- p2p/discover/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/discover/common.go b/p2p/discover/common.go index 28f7b0055a..b3e0387ca2 100644 --- a/p2p/discover/common.go +++ b/p2p/discover/common.go @@ -66,7 +66,7 @@ type Config struct { func (cfg Config) withDefaults() Config { // Node table configuration: if cfg.PingInterval == 0 { - cfg.PingInterval = 5 * time.Second + cfg.PingInterval = 3 * time.Second } if cfg.RefreshInterval == 0 { cfg.RefreshInterval = 30 * time.Minute