Sync: raise limits
This commit is contained in:
parent
1838057220
commit
ef1079e600
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue