diff --git a/src/FuzeWorks/Async/Supervisors/ParallelSuperVisor.php b/src/FuzeWorks/Async/Supervisors/ParallelSuperVisor.php index f871c2a..18c7fa2 100644 --- a/src/FuzeWorks/Async/Supervisors/ParallelSuperVisor.php +++ b/src/FuzeWorks/Async/Supervisors/ParallelSuperVisor.php @@ -261,7 +261,7 @@ class ParallelSuperVisor implements SuperVisor // If all are finished and none are delayed if ($allCompleted && !$anyDelayed) return SuperVisor::FINISHED; - if (!$allCompleted && $anyDelayed) + elseif ($allCompleted && $anyDelayed) return SuperVisor::CONSTRAINED; else return SuperVisor::RUNNING;