Braces and spaces
[lhc/web/wiklou.git] / maintenance / gearman / gearmanWorker.php
index 0b26ff9..aea126a 100644 (file)
@@ -1,8 +1,10 @@
 <?php
 
 $optionsWithArgs = array( 'fake-job', 'procs' );
-require( dirname(__FILE__).'/../commandLine.inc' );
-require( dirname(__FILE__).'/gearman.inc' );
+require( dirname( __FILE__ ) . '/../commandLine.inc' );
+require( dirname( __FILE__ ) . '/gearman.inc' );
+
+ini_set( 'memory_limit', '150M' );
 
 if ( isset( $options['procs'] ) ) {
        $procs = $options['procs'];