2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Merge pull request #3779 from xuweibj/32process

Fix a bug that if children process over 32, sleep 1 second
This commit is contained in:
chenglch 2017-08-25 18:06:14 +08:00 committed by GitHub
commit d722f581ac

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);