2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

Fix a bug that if children process over 32, sleep 1 second

This commit is contained in:
XuWei 2017-08-25 05:17:49 -04:00
parent fdda051859
commit 491bf3682e

View File

@ -686,9 +686,9 @@ sub scan_process {
$pipe_map{$child} = $cfd;
}
do {
while ($children >= 32) {
sleep(1);
} until ($children < 32);
}
}
while($children > 0) {
sleep(1);