diff options
Diffstat (limited to 'maintenance/gearman/gearmanWorker.php')
-rw-r--r-- | maintenance/gearman/gearmanWorker.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/maintenance/gearman/gearmanWorker.php b/maintenance/gearman/gearmanWorker.php index 0b26ff9f..d6f3949f 100644 --- a/maintenance/gearman/gearmanWorker.php +++ b/maintenance/gearman/gearmanWorker.php @@ -4,6 +4,8 @@ $optionsWithArgs = array( 'fake-job', 'procs' ); require( dirname(__FILE__).'/../commandLine.inc' ); require( dirname(__FILE__).'/gearman.inc' ); +ini_set('memory_limit', '150M' ); + if ( isset( $options['procs'] ) ) { $procs = $options['procs']; if ( $procs < 1 || $procs > 1000 ) { |