mirror of
https://github.com/fosrl/olm.git
synced 2026-03-02 00:36:44 +00:00
Update wait timer to 200ms
This commit is contained in:
2
main.go
2
main.go
@@ -537,7 +537,7 @@ func runOlmMainWithArgs(ctx context.Context, args []string) {
|
|||||||
close(stopHolepunch)
|
close(stopHolepunch)
|
||||||
|
|
||||||
// wait 10 milliseconds to ensure the previous connection is closed
|
// wait 10 milliseconds to ensure the previous connection is closed
|
||||||
time.Sleep(10 * time.Millisecond)
|
time.Sleep(200 * time.Millisecond)
|
||||||
|
|
||||||
// if there is an existing tunnel then close it
|
// if there is an existing tunnel then close it
|
||||||
if dev != nil {
|
if dev != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user