fix BatchRead interface & make batch size configurable

This commit is contained in:
Jay Wren
2025-10-23 14:37:26 -04:00
parent 0827a6f1c5
commit 8281b1699f
8 changed files with 29 additions and 60 deletions

View File

@@ -214,7 +214,6 @@ func (rm *tun) NewMultiQueueReader(t *wgTun) (io.ReadWriteCloser, error) {
return &wgTunReader{
parent: t,
tunDevice: t.tunDevice,
batchSize: 64,
offset: 0,
l: t.l,
}, nil