Skip to content

Commit

Permalink
Improvment: Wont spawn extra queues (#1508)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmontoanelli authored Oct 16, 2024
1 parent 02d76ee commit d9c39ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ProvisioningPlan.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ public function deploy($environment)
}

foreach ($supervisors as $supervisor => $options) {
$this->add($options);
if ($options->maxProcesses > 0) {
$this->add($options);
}
}

event(new MasterSupervisorDeployed($this->master));
Expand Down

0 comments on commit d9c39ce

Please sign in to comment.