From 5dfbd98c74d21664caea1d6722c28d120f52c04b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?rich=CE=9Brd?= Date: Tue, 31 Oct 2023 08:41:19 -0400 Subject: [PATCH] chore: lower dhigh to limit amplification factor (#850) --- waku/v2/protocol/relay/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/v2/protocol/relay/config.go b/waku/v2/protocol/relay/config.go index 61560d2f..d343edd5 100644 --- a/waku/v2/protocol/relay/config.go +++ b/waku/v2/protocol/relay/config.go @@ -66,7 +66,7 @@ func (w *WakuRelay) defaultPubsubOptions() []pubsub.Option { cfg.GossipFactor = 0.25 cfg.D = waku_proto.GossipSubOptimalFullMeshSize cfg.Dlo = 4 - cfg.Dhi = 12 + cfg.Dhi = 8 cfg.Dout = 3 cfg.Dlazy = waku_proto.GossipSubOptimalFullMeshSize cfg.HeartbeatInterval = time.Second