Skip to content

Commit

Permalink
fix log message when scaleDownThreshold is met (#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmitnflx authored Jul 11, 2024
1 parent c1c7f34 commit 10c1dd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ public void onNext(Event event) {
logger.debug("scale up NOOP: desiredWorkers same as current workers");
}
} else if (stats.getLowThreshTriggered()) {
logger.info("Attempting to scale down stage {} of job {} by {} workers, because {} exceeded scaleUpThreshold of {} {} times",
logger.info("Attempting to scale down stage {} of job {} by {} workers, because {} is below scaleDownThreshold of {} {} times",
stage, jobId, scalingPolicy.getDecrement(), event.getType(),
strategy.getScaleDownBelowPct(), stats.getCurrentLowCount());
final int numCurrentWorkers = event.getNumWorkers();
Expand Down

0 comments on commit 10c1dd8

Please sign in to comment.