Update environment timeouts

See https://github.com/silverstripe/silverstripe-framework/issues/9029
This commit is contained in:
Ingo Schommer 2019-06-06 15:18:12 +12:00
parent b21e5d9e57
commit f4cdfb06c8

View File

@ -54,7 +54,8 @@ class MigrateFileTask extends BuildTask
// Set max time and memory limit
Environment::increaseTimeLimitTo();
Environment::increaseMemoryLimitTo();
Environment::setMemoryLimitMax(-1);
Environment::increaseMemoryLimitTo(-1);
$this->extend('preFileMigration');