lei-xia commented on a change in pull request #1111:
URL: https://github.com/apache/helix/pull/1111#discussion_r448594810



##########
File path: helix-core/src/main/java/org/apache/helix/model/Message.java
##########
@@ -117,6 +120,11 @@
   // Currently, the field is only used for invalidating messages in 
controller's message cache.
   private boolean _expired = false;
 
+  // The expect period of time (in ms) that a message should be completed, 
default 1 day
+  public static final long MESSAGE_EXPECT_COMPLETION_PERIOD = HelixUtil
+      
.getSystemPropertyAsLong(SystemPropertyKeys.MESSAGE_EXPECTED_COMPLETION_PERIOD,
+          24 * 60 * 60 * 1000 /* 1 day in ms */);

Review comment:
       Neat.




----------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to