We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2193507 commit 0195167Copy full SHA for 0195167
1 file changed
wait-for
@@ -63,7 +63,7 @@ wait_for() {
63
while :; do
64
case "$PROTOCOL" in
65
tcp)
66
- nc -z "$HOST" "$PORT" > /dev/null 2>&1
+ nc -w 1 -z "$HOST" "$PORT" > /dev/null 2>&1
67
;;
68
http)
69
wget --timeout=1 -q "$HOST" -O /dev/null > /dev/null 2>&1
0 commit comments