flashJd commented on code in PR #728: URL: https://github.com/apache/flink-kubernetes-operator/pull/728#discussion_r1426748818
########## flink-autoscaler/src/main/java/org/apache/flink/autoscaler/JobAutoScalerImpl.java: ########## @@ -96,6 +97,13 @@ public void scale(Context ctx) throws Exception { return; } + if (!AutoScalerUtils.verifyForbidPeriods(ctx.getConfiguration())) { Review Comment: removed to `DefaultValidator` ########## flink-autoscaler/src/main/java/org/apache/flink/autoscaler/ScalingMetricCollector.java: ########## @@ -114,6 +115,7 @@ public CollectedMetricHistory updateMetrics( var topology = getJobTopology(ctx, stateStore, jobDetailsInfo); var stableTime = jobUpdateTs.plus(conf.get(AutoScalerOptions.STABILIZATION_INTERVAL)); final boolean isStabilizing = now.isBefore(stableTime); + final boolean isForbidding = AutoScalerUtils.inForbidPeriod(conf, now); Review Comment: fixed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org