[
https://issues.apache.org/jira/browse/FLINK-22225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402128#comment-17402128
]
Till Rohrmann commented on FLINK-22225:
---------------------------------------
I am not sure whether this would be worth the effort and computation time. I'd
be in favour of not doing it and closing this ticket.
> Improve time formatting in LeaderRetrievalUtils
> -----------------------------------------------
>
> Key: FLINK-22225
> URL: https://issues.apache.org/jira/browse/FLINK-22225
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Coordination
> Reporter: Chesnay Schepler
> Priority: Major
> Fix For: 1.14.0
>
>
> Time formatting could be improved here:
> {code}
> org.apache.flink.runtime.util.LeaderRetrievalUtils [] - TaskManager
> will try to connect for PT10S before falling back to heuristics
> {code}
> We could use {{Timeutils.formatWithHighestUnit}}, but not sure whether we are
> willing to pay the cost for that.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)