Skip to content

Commit

Permalink
No memory limit, set to 10mb as a sesnible default
Browse files Browse the repository at this point in the history
  • Loading branch information
violuke authored Mar 13, 2019
1 parent af45538 commit 6c6be8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deploydog/Slavedriver/Slavedriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ private function getMaxBytesOfLogFileToRead(){
throw new \deploydog\Slavedriver\Exception\Slavedriver('Unable to understand memory limit unit of ' . $matches[2]);
}
} elseif ($memoryLimit === '-1'){
return null; // No memory limit
return 10 * 1024 * 1024; // No memory limit, set to 10mb as a sesnible default
} else {
throw new \deploydog\Slavedriver\Exception\Slavedriver('Unable to understand memory limit of '.$memoryLimit);
}
Expand Down

0 comments on commit 6c6be8a

Please sign in to comment.