-Improve performance of large requests (i.e. tabrestore a 70,000 row table went from 2 minutes to 40 seconds)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-08-09 15:50:06 +00:00
parent b686ba5a10
commit 12eb91ce4f

View File

@ -1265,7 +1265,7 @@ sub service_connection {
alarm(0);
$request .= $_;
#$req = eval { XMLin($request, ForceArray => [ 'attribute' , 'attributepair' ]) };
if ($request =~ m/<\/xcatrequest>/) {
if (m/<\/xcatrequest>/) {
$req = eval { XMLin($request, SuppressEmpty=>undef,ForceArray=>1) };
#first change peername on 'becomeuser' tag if present and valid
if (defined $req->{becomeuser}) {