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

increase timeout for getPortFrom() (#3511)

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
Jim Ehrismann 2021-07-23 17:16:09 -04:00 committed by GitHub
parent 1437f8a945
commit fd5881fe33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ export function getPortFrom(stream: Readable, args: GetPortArgs): Promise<number
stream.off("data", handler);
logger.warn(`[getPortFrom]: failed to retrieve port via ${args.lineRegex.toString()}: ${logLines}`);
reject(new Error("failed to retrieve port from stream"));
}, args.timeout ?? 5000);
}, args.timeout ?? 15000);
stream.on("data", handler);
});