Skip to content

Commit

Permalink
Increase binary packet pool size to 4096
Browse files Browse the repository at this point in the history
  • Loading branch information
viciious committed Nov 2, 2023
1 parent 8ab9653 commit 2edb9f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binpacket_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type BinaryPacketPool struct {

func newBinaryPacketPool() *BinaryPacketPool {
return &BinaryPacketPool{
queue: make(chan *BinaryPacket, 1024),
queue: make(chan *BinaryPacket, 4096),
}
}

Expand Down

0 comments on commit 2edb9f8

Please sign in to comment.