p2p/discover: faster

This commit is contained in:
Felix Lange 2024-04-20 10:44:10 +02:00
parent c2ad0a783d
commit 0b44fc4dea

View file

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