why does it work

This commit is contained in:
JackDoan 2025-11-11 19:12:50 -06:00
parent 17a6917428
commit c026e8624a
2 changed files with 4 additions and 4 deletions

View file

@ -313,7 +313,7 @@ func (f *Interface) listenOut(q int) {
func (f *Interface) listenIn(reader overlay.TunDev, queueNum int) {
runtime.LockOSThread()
const batch = 64
const batch = 128
originalPackets := make([][]byte, batch) //todo batch config
for i := 0; i < batch; i++ {
originalPackets[i] = make([]byte, 0xffff)