mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Increase the nc poll timeout to better deal with network latencies.
This commit is contained in:
parent
da08048084
commit
3bb948c483
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132264
@ -18,7 +18,7 @@ fi
|
||||
if [ -z "${infoseek_host}" ]; then
|
||||
infoseek_host=$m
|
||||
fi
|
||||
if (/usr/local/bin/nc -w 5 ${infoseek_host} ${infoseek_port} > ${buildroot}/${i}/loads/$m < /dev/null); then
|
||||
if (/usr/local/bin/nc -w 15 ${infoseek_host} ${infoseek_port} > ${buildroot}/${i}/loads/$m < /dev/null); then
|
||||
if [ "${queue}" = 1 ]; then
|
||||
num=$(awk '{print $1}' ${buildroot}/${i}/loads/$m)
|
||||
if [ "$num" -lt "${maxjobs}" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user