mirror of
https://github.com/fosrl/olm.git
synced 2026-02-18 19:06:42 +00:00
Dont close and comment out dont create
This commit is contained in:
@@ -52,9 +52,9 @@ type Config struct {
|
|||||||
// Source tracking (not in JSON)
|
// Source tracking (not in JSON)
|
||||||
sources map[string]string
|
sources map[string]string
|
||||||
|
|
||||||
Version string
|
Version string
|
||||||
OrgID string
|
OrgID string
|
||||||
DoNotCreateNewClient bool
|
// DoNotCreateNewClient bool
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -343,8 +343,6 @@ func TunnelProcess(ctx context.Context, config Config, id string, secret string,
|
|||||||
stopRegister = nil
|
stopRegister = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// close(stopHolepunch)
|
|
||||||
|
|
||||||
// wait 10 milliseconds to ensure the previous connection is closed
|
// wait 10 milliseconds to ensure the previous connection is closed
|
||||||
logger.Debug("Waiting 500 milliseconds to ensure previous connection is closed")
|
logger.Debug("Waiting 500 milliseconds to ensure previous connection is closed")
|
||||||
time.Sleep(500 * time.Millisecond)
|
time.Sleep(500 * time.Millisecond)
|
||||||
|
|||||||
Reference in New Issue
Block a user