[2024-09-13](UPDATE): 更新超时时间
This commit is contained in:
parent
4ae0adb5bb
commit
03eb31d2ea
@ -19,7 +19,7 @@ func packetHandle(queueNum int) {
|
|||||||
MaxPacketLen: 0xFFFF,
|
MaxPacketLen: 0xFFFF,
|
||||||
MaxQueueLen: 0xFF,
|
MaxQueueLen: 0xFF,
|
||||||
Copymode: nfqueue.NfQnlCopyPacket,
|
Copymode: nfqueue.NfQnlCopyPacket,
|
||||||
WriteTimeout: 200 * time.Millisecond,
|
WriteTimeout: 50 * time.Millisecond,
|
||||||
}
|
}
|
||||||
|
|
||||||
nf, err := nfqueue.Open(&config)
|
nf, err := nfqueue.Open(&config)
|
||||||
|
Loading…
Reference in New Issue
Block a user