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 (#732)
Signed-off-by: Tim Urista <timothy.urista@gmail.com>
This commit is contained in:
parent
6e645eade0
commit
4a8d1ab205
@ -57,7 +57,7 @@ class PortForward {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
try {
|
try {
|
||||||
await tcpPortUsed.waitUntilUsed(this.localPort, 500, 3000)
|
await tcpPortUsed.waitUntilUsed(this.localPort, 500, 15000)
|
||||||
return true
|
return true
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.process.kill()
|
this.process.kill()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user