mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-04-16 14:06:54 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue