Skip to content

Commit

Permalink
Update DefaultTaskCancellation.java
Browse files Browse the repository at this point in the history
Signed-off-by: Kiran Prakash <[email protected]>
  • Loading branch information
kiranprakash154 committed Aug 29, 2024
1 parent 0103089 commit 092d715
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ private Long getResourceUsage(QueryGroup queryGroup, ResourceType resourceType)
return queryGroupLevelResourceUsageViews.get(queryGroup.get_id()).getResourceUsageData().get(resourceType);
}


private boolean isBreachingThreshold(ResourceType resourceType, Double resourceThresholdInPercentage, long resourceUsage) {
if (resourceType == ResourceType.MEMORY) {
// Check if resource usage is breaching the threshold
Expand Down

0 comments on commit 092d715

Please sign in to comment.