Sync: raise limits

This commit is contained in:
Thomas Gelf 2016-02-09 19:21:17 +01:00
parent 1838057220
commit ef1079e600
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@ class Sync
public static function run(SyncRule $rule)
{
$sync = new static;
// Raise limits. TODO: do this in a failsafe way, and only if necessary
ini_set('memory_limit', '768M');
ini_set('max_execution_time', 0);
return $sync->runWithRule($rule);
}