wintun: work around GetInterface staleness bug
This commit is contained in:
parent
46dbf54040
commit
2e988467c2
2 changed files with 31 additions and 19 deletions
|
|
@ -11,8 +11,8 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
numRetries = 100
|
||||
retryTimeout = 150 * time.Millisecond
|
||||
numRetries = 50
|
||||
retryTimeout = 100 * time.Millisecond
|
||||
)
|
||||
|
||||
func registryOpenKeyRetry(k registry.Key, path string, access uint32) (key registry.Key, err error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue