Skip to content

Commit

Permalink
increase sendqueue size
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMct committed Apr 22, 2024
1 parent 89bacac commit 32ee891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (hsv *HeliumServer) Register(_ *pb.Void, stream pb.Helium_RegisterServer) e
if !has {
panic(fmt.Errorf("invalid node id: %s", nodeID))
}
sendQueue := make(chan node.Event, 100)
sendQueue := make(chan node.Event, 100000)
peer.sendQueue = sendQueue
if hsv.eventsClosed {
close(sendQueue)
Expand Down

0 comments on commit 32ee891

Please sign in to comment.