Skip to content

Commit

Permalink
publishing cpu time for the request is 10.x only
Browse files Browse the repository at this point in the history
  • Loading branch information
gus-asf committed Nov 10, 2024
1 parent 47e67bf commit b884d04
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -647,11 +647,6 @@ private void processComponents(
throwSolrException(srsp.getException());
} else {
rsp.setPartialResults(rb.req);
if (publishCpuTime) {
totalShardCpuTime += computeShardCpuTime(srsp.getShardRequest().responses);
rsp.getResponseHeader().add(ThreadCpuTimer.CPU_TIME, totalShardCpuTime);
rsp.addToLog(ThreadCpuTimer.CPU_TIME, totalShardCpuTime);
}
}
}
}
Expand Down

0 comments on commit b884d04

Please sign in to comment.