Skip to content

Commit dc19c27

Browse files
authored
Docker timeouts can also have exit code 9
1 parent b78e397 commit dc19c27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ProcessMaker/Models/ScriptDockerBindingFilesTrait.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ private function runContainer($image, $command, $parameters, $bindings, $timeout
7373

7474
$line = exec($cmd, $output, $returnCode);
7575
if ($returnCode) {
76-
if ($returnCode == 137) {
76+
if ($returnCode == 137 || $returnCode == 9) {
7777
Log::error('Script timed out');
7878
throw new ScriptTimeoutException(
7979
__('Script took too long to complete. Consider increasing the timeout.')

0 commit comments

Comments
 (0)