fix: give cache:warmup more memory
This commit is contained in:
parent
37fbaa575e
commit
916e5efcc6
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ task('typo3:cache:flush', function () {
|
|||
task('typo3:cache:warmup', function () {
|
||||
cd('{{release_or_current_path}}');
|
||||
// Append exit code so run() won't throw before we can read the output
|
||||
$result = run('{{bin/php}} -d display_errors=1 bin/typo3 cache:warmup 2>&1; echo EXIT_CODE:$?');
|
||||
$result = run('{{bin/php}} -d display_errors=1 -d memory_limit=512M bin/typo3 cache:warmup 2>&1; echo EXIT_CODE:$?');
|
||||
if (!str_contains($result, 'EXIT_CODE:0')) {
|
||||
throw new \RuntimeException("cache:warmup failed:\n" . $result);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue