mirror of
https://github.com/slackhq/nebula.git
synced 2025-12-15 15:20:44 -08:00
why does it work
This commit is contained in:
parent
17a6917428
commit
c026e8624a
2 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue