zjureel commented on pull request #18303: URL: https://github.com/apache/flink/pull/18303#issuecomment-1011768126
Thanks @xintongsong. Replace `ExecutorService#shutdownNow` with `Executor#awaitTermination` is not feasible, while the main target of `ExecutorService` is to clear the pending tasks when it closed. But it's a good idea to check the delay value in `MainThreadExecutor#schedule` before add it to `ExecutorService`, I'll try it. THX -- 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