Fixed bug where SuperVisor cancelled after every cycle.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
fcda6d6e4d
commit
80df1dd33e
@ -261,7 +261,7 @@ class ParallelSuperVisor implements SuperVisor
|
|||||||
// If all are finished and none are delayed
|
// If all are finished and none are delayed
|
||||||
if ($allCompleted && !$anyDelayed)
|
if ($allCompleted && !$anyDelayed)
|
||||||
return SuperVisor::FINISHED;
|
return SuperVisor::FINISHED;
|
||||||
if (!$allCompleted && $anyDelayed)
|
elseif ($allCompleted && $anyDelayed)
|
||||||
return SuperVisor::CONSTRAINED;
|
return SuperVisor::CONSTRAINED;
|
||||||
else
|
else
|
||||||
return SuperVisor::RUNNING;
|
return SuperVisor::RUNNING;
|
||||||
|
Loading…
Reference in New Issue
Block a user