[2024-09-13](UPDATE): 更新超时时间

This commit is contained in:
juneflbjpz 2024-09-13 23:47:11 +08:00
parent 4ae0adb5bb
commit 03eb31d2ea

View File

@ -19,7 +19,7 @@ func packetHandle(queueNum int) {
MaxPacketLen: 0xFFFF,
MaxQueueLen: 0xFF,
Copymode: nfqueue.NfQnlCopyPacket,
WriteTimeout: 200 * time.Millisecond,
WriteTimeout: 50 * time.Millisecond,
}
nf, err := nfqueue.Open(&config)