node: increase packet queue size to 1000

This commit is contained in:
Max 2026-04-15 20:47:10 +01:00
parent 21b4607434
commit 4cea3c31b3

View File

@ -233,7 +233,7 @@ func (node *Node) Run() error {
node.packetQueues = make(map[peer.ID]chan Packet)
for _, p := range node.cfg.Peers {
node.packetQueues[p.ID] = make(chan Packet, 100)
node.packetQueues[p.ID] = make(chan Packet, 1000)
logger.With(zap.String("peer", p.ID.String())).Warn("spawn sender")
go func() {
node.wg.Add(1)