mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 01:04:12 +02:00
Sync: raise limits
This commit is contained in:
parent
1838057220
commit
ef1079e600
@ -31,6 +31,11 @@ class Sync
|
|||||||
public static function run(SyncRule $rule)
|
public static function run(SyncRule $rule)
|
||||||
{
|
{
|
||||||
$sync = new static;
|
$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);
|
return $sync->runWithRule($rule);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user