Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
xyuanlu committed Sep 26, 2023
1 parent e46f978 commit 9bac5a9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ public void process(ClusterEvent event) throws Exception {
reportResourcePartitionCapacityMetrics(dataProvider.getAsyncTasksThreadPool(),
clusterStatusMonitor, dataProvider.getResourceConfigMap().values());

// TODO: we only need to compute when there are resource using Waged. We should
// do this as perf improvement in future.
WagedInstanceCapacity capacityProvider = new WagedInstanceCapacity(dataProvider);
WagedResourceWeightsProvider weightProvider = new WagedResourceWeightsProvider(dataProvider);

Expand Down

0 comments on commit 9bac5a9

Please sign in to comment.