Replace sleep(0.1) with Time::HiRes::sleep(0.1). Apparently, sleep 0.1 transaltes to sleep(0) - Line #113
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4c689725c6
commit
64bef2058a
@ -110,7 +110,7 @@ sub process_command {
|
||||
|
||||
foreach ( @$nodes ) {
|
||||
while ( $children > $maxp ) {
|
||||
sleep(0.1);
|
||||
Time::HiRes::sleep(0.1);
|
||||
}
|
||||
my $pipe = fork_cmd( @$_[0], @$_[1], $request );
|
||||
if ( $pipe ) {
|
||||
|
Loading…
Reference in New Issue
Block a user