Skip to content

Commit

Permalink
fix: don't run jobs in background
Browse files Browse the repository at this point in the history
Since they're now running on workers which need to know they're still running them. Fixes #82.
  • Loading branch information
dkarlovi committed Oct 26, 2022
1 parent bb2191d commit 46c8641
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ProcessManagerBundle/Process/Pimcore.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ public function run(ExecutableInterface $executable, array $params = []): int
$settings = $executable->getSettings();
$command = (array) $settings['command'];

return Console::runPhpScriptInBackground(PIMCORE_PROJECT_ROOT . "/bin/console", $command);
Console::runPhpScript(PIMCORE_PROJECT_ROOT . "/bin/console", $command);

return 0;
}
}

0 comments on commit 46c8641

Please sign in to comment.