1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

set max timeout to 15 seconds to prevent failed opening of local port

Signed-off-by: Tim Urista <timothy.urista@gmail.com>
This commit is contained in:
Tim Urista 2020-08-21 09:13:51 -07:00
parent 6e645eade0
commit ead49c2301

View File

@ -57,7 +57,7 @@ class PortForward {
}
})
try {
await tcpPortUsed.waitUntilUsed(this.localPort, 500, 3000)
await tcpPortUsed.waitUntilUsed(this.localPort, 500, 15000)
return true
} catch (error) {
this.process.kill()