Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Commit ba58bb0

Browse files
authored
Merge pull request #73 from yilmazdurmaz/timeout_fix
"portIsFree" function's "timeout" parameter value increased to solve issues #48, #54 and #70
2 parents fec399b + c2ab7c2 commit ba58bb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/_inspect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class StartupError extends Error {
4949
}
5050
}
5151

52-
function portIsFree(host, port, timeout = 2000) {
52+
function portIsFree(host, port, timeout = 9999) {
5353
if (port === 0) return Promise.resolve(); // Binding to a random port.
5454

5555
const retryDelay = 150;

0 commit comments

Comments
 (0)