tillrohrmann commented on a change in pull request #9745: [FLINK-14070] 
[runtime] Use TimeUtils to parse duration configs in flink-runtime
URL: https://github.com/apache/flink/pull/9745#discussion_r327618592
 
 

 ##########
 File path: 
flink-runtime/src/main/scala/org/apache/flink/runtime/akka/AkkaUtils.scala
 ##########
 @@ -49,8 +51,6 @@ import scala.language.postfixOps
 object AkkaUtils {
 
 Review comment:
   Would it hurt to replace 
https://github.com/apache/flink/blob/master/flink-runtime/src/main/scala/org/apache/flink/runtime/akka/AkkaUtils.scala#L400
 with `val akkaAskTimeout = Duration(getTimeout(configuration).toMillis, 
TimeUnit.MILLISECONDS)`? The benefit would be that we don't use two mechanisms 
for parsing. Consequently, these two mechanism don't need to stay in sync in 
the future.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to