ahgittin commented on a change in pull request #1265:
URL: https://github.com/apache/brooklyn-server/pull/1265#discussion_r735544891



##########
File path: 
core/src/main/java/org/apache/brooklyn/util/core/task/ScheduledTask.java
##########
@@ -231,10 +231,12 @@ protected String getActiveTaskStatusString(int verbosity) 
{
     
     @Override
     public boolean isDone(boolean andTaskNoLongerRunning) {
+        boolean done = isCancelled() || (maxIterations!=null && maxIterations 
<= runCount) || (period==null && nextRun!=null && nextRun.isDone());

Review comment:
       i think you are right, will update




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to