mirror of
https://github.com/hyprspace/hyprspace.git
synced 2026-09-12 19:51:07 +05:00
node: increase packet queue size to 1000
This commit is contained in:
parent
21b4607434
commit
4cea3c31b3
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user