diff --git a/src/Scheduler.php b/src/Scheduler.php index b12ed14..d47a7a4 100644 --- a/src/Scheduler.php +++ b/src/Scheduler.php @@ -522,7 +522,7 @@ public function start_action(string $actionName): Process if (count($this->inflightActionCommands) === 0) { $this->inflightActionCommands = []; - if ($this->errorRecovery === true) { + if ($this->errorRecovery === true && count($this->erroredActionCommands) === 0) { $this->logger->info('Replay of errored actions completed successfully. Resuming normal operations'); $this->errorRecovery = false; $this->initialise_input_processes();