mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-16 11:20:32 +00:00
-Improve client and intra-service node performance on large requests (for example, nodels of 65 thousand nodes used to take 2 minutes and 40 seconds on one particular system. It now takes 14 seconds on that system with this change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -158,7 +158,7 @@ sub submit_request {
|
||||
my $cleanexit=0;
|
||||
while (<$client>) {
|
||||
$response .= $_;
|
||||
if ($response =~ m/<\/xcatresponse>/) {
|
||||
if (m/<\/xcatresponse>/) {
|
||||
$rsp = XMLin($response,SuppressEmpty=>undef,ForceArray=>1);
|
||||
$response='';
|
||||
$callback->($rsp);
|
||||
|
Reference in New Issue
Block a user