From 0d3c34e23f3c8b7f254b67adc499cd7be9acb230 Mon Sep 17 00:00:00 2001 From: danohn <82357071+danohn@users.noreply.github.com> Date: Fri, 29 Aug 2025 13:13:09 +1000 Subject: [PATCH] Update wait time to 500ms Former-commit-id: 07d5ebdde1128702b8e6bd82b949b498fc569328 --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 480671e..9c33de4 100644 --- a/main.go +++ b/main.go @@ -537,7 +537,8 @@ func runOlmMainWithArgs(ctx context.Context, args []string) { close(stopHolepunch) // wait 10 milliseconds to ensure the previous connection is closed - time.Sleep(200 * time.Millisecond) + logger.Debug("Waiting 500 milliseconds to ensure previous connection is closed") + time.Sleep(500 * time.Millisecond) // if there is an existing tunnel then close it if dev != nil {