From c7c8fc3237eb10113799ab1f8f10acc756e50515 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Tue, 13 Oct 2009 02:43:01 +0000 Subject: [PATCH] fixed typo error in last checkin git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/PPC.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index 85d61ead9..4c2b75ae5 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -120,7 +120,6 @@ sub process_command { $start = Time::HiRes::gettimeofday(); } - $request->{maxssh} = int($request->{maxssh}/2); ####################################### # Group nodes based on command ####################################### @@ -213,6 +212,7 @@ sub process_command { if ( ($request->{command} =~ /^(getmacs)$/ && exists( $request->{opt}->{D} )) || ($request->{command} =~ /^(rnetboot)$/) ) { my %pid_owner = (); + $request->{maxssh} = int($request->{maxssh}/2); # Use the CHID signal to control the #connection number of certain hcp $SIG{CHLD} = sub { my $pid = 0; while (($pid = waitpid(-1, WNOHANG)) > 0) @@ -273,7 +273,7 @@ sub process_command { } } - Time::HiRes::sleep(0.2); + Time::HiRes::sleep(0.1); my ($pipe, $pid) = fork_cmd( $nodes->{$least_hcp}{'nodegroup'}->[$nodes->{$least_hcp}{'index'}]->[0], $nodes->{$least_hcp}{'nodegroup'}->[$nodes->{$least_hcp}{'index'}]->[1], $request );