[
https://issues.apache.org/jira/browse/FLINK-8549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350191#comment-16350191
]
ASF GitHub Bot commented on FLINK-8549:
---------------------------------------
Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/5402#discussion_r165623427
--- Diff:
flink-core/src/main/java/org/apache/flink/configuration/TaskManagerOptions.java
---
@@ -206,6 +206,14 @@
key("task.cancellation.timeout")
.defaultValue(180000L);
+ /**
+ * This configures how long we wait for the timers to finish all
pending timer threads
+ * when the stream task is cancelled .
+ */
+ public static final ConfigOption<Long> TASK_CANCELLATION_TIMEOUT_TIMERS
= ConfigOptions
+ .key("task.cancellation.timeout.timers")
+ .defaultValue(7500L);
--- End diff --
add deprecated key? (I'm not quite sure whether the previous option was
part of a release)
> Move TimerServiceOptions to TaskManagerOptions
> ----------------------------------------------
>
> Key: FLINK-8549
> URL: https://issues.apache.org/jira/browse/FLINK-8549
> Project: Flink
> Issue Type: Improvement
> Components: Local Runtime
> Reporter: Stephan Ewen
> Assignee: Stephan Ewen
> Priority: Major
> Fix For: 1.5.0
>
>
> The {{TimerServiceOptions}} are in the wrong place (prohibit generation of
> config docs) and cause over-fragmentation of the options in the code base.
> I propose to simple move the one option from that class to the
> {{TaskManagerOptions}}, as it relates to task execution. Other shutdown
> related options are in there already.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)