mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-04-19 07:26:54 +02:00
wintun: try harder to open registry key
This sucks. Can we please find a deterministic way of doing this instead?
This commit is contained in:
parent
3945a299ff
commit
247e14693a
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
numRetries = 25
|
||||
retryTimeout = 100 * time.Millisecond
|
||||
numRetries = 100
|
||||
retryTimeout = 150 * time.Millisecond
|
||||
)
|
||||
|
||||
func registryOpenKeyRetry(k registry.Key, path string, access uint32) (key registry.Key, err error) {
|
||||
|
|
Loading…
Add table
Reference in a new issue