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:
parent
1437f8a945
commit
fd5881fe33
@ -71,7 +71,7 @@ export function getPortFrom(stream: Readable, args: GetPortArgs): Promise<number
|
|||||||
stream.off("data", handler);
|
stream.off("data", handler);
|
||||||
logger.warn(`[getPortFrom]: failed to retrieve port via ${args.lineRegex.toString()}: ${logLines}`);
|
logger.warn(`[getPortFrom]: failed to retrieve port via ${args.lineRegex.toString()}: ${logLines}`);
|
||||||
reject(new Error("failed to retrieve port from stream"));
|
reject(new Error("failed to retrieve port from stream"));
|
||||||
}, args.timeout ?? 5000);
|
}, args.timeout ?? 15000);
|
||||||
|
|
||||||
stream.on("data", handler);
|
stream.on("data", handler);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user