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:
Tim Urista authored and GitHub committed 2020-08-24 09:27:30 +03:00
1 parent 6e645eade0
commit 4a8d1ab205
1 file changed
+1 -1
+1 -1
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()