You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/04/02 09:10:07 UTC

[GitHub] [flink] sunjincheng121 commented on a change in pull request #8048: [FLINK-12009] Fix wrong check message about heartbeat interval for HeartbeatServices

sunjincheng121 commented on a change in pull request #8048: [FLINK-12009] Fix wrong check message about heartbeat interval for HeartbeatServices
URL: https://github.com/apache/flink/pull/8048#discussion_r271202164
 
 

 ##########
 File path: flink-runtime/src/main/java/org/apache/flink/runtime/heartbeat/HeartbeatServices.java
 ##########
 @@ -40,7 +40,7 @@
 
 	public HeartbeatServices(long heartbeatInterval, long heartbeatTimeout) {
 		Preconditions.checkArgument(0L < heartbeatInterval, "The heartbeat interval must be larger than 0.");
-		Preconditions.checkArgument(heartbeatInterval <= heartbeatTimeout, "The heartbeat timeout should be larger or equal than the heartbeat timeout.");
+		Preconditions.checkArgument(heartbeatInterval <= heartbeatTimeout, "The heartbeat interval should be larger or equal than the heartbeat timeout.");
 
 Review comment:
   `The heartbeat interval should be larger or equal than the heartbeat timeout` -> `The heartbeat timeout should be larger or equal than the heartbeat interval`

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services