reswqa commented on code in PR #22495:
URL: https://github.com/apache/flink/pull/22495#discussion_r1179978366
##########
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/slotpool/DeclarativeSlotPoolService.java:
##########
@@ -134,7 +139,25 @@ public final void start(
*
* @param componentMainThreadExecutor componentMainThreadExecutor used by
this slot pool service
*/
- protected void onStart(ComponentMainThreadExecutor
componentMainThreadExecutor) {}
+ protected void onStart(ComponentMainThreadExecutor
componentMainThreadExecutor) {
+ this.componentMainThreadExecutor = componentMainThreadExecutor;
+
+ componentMainThreadExecutor.schedule(
+ this::checkIdleSlotTimeout,
+ idleSlotTimeout.toMilliseconds(),
+ TimeUnit.MILLISECONDS);
Review Comment:
Sorry, my mistake. It should be [FLINK-31399]
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]