mirror of
https://git.zx2c4.com/wireguard-go
synced 2024-11-15 01:05:15 +01:00
tun: windows: Increase unavailable adapter timeout to 30sec
5 seconds was too short when debugging. Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
a80db5e65e
commit
4b1db1d39b
@ -22,7 +22,7 @@ const (
|
||||
packetSizeMax uint32 = 0xf000 - packetExchangeAlignment // Maximum packet size
|
||||
packetExchangeSize uint32 = 0x100000 // Exchange buffer size (defaults to 1MiB)
|
||||
retryRate = 4 // Number of retries per second to reopen device pipe
|
||||
retryTimeout = 5 // Number of seconds to tolerate adapter unavailable
|
||||
retryTimeout = 30 // Number of seconds to tolerate adapter unavailable
|
||||
)
|
||||
|
||||
type exchgBufRead struct {
|
||||
|
Loading…
Reference in New Issue
Block a user