Disable ulimit time limit for long-running captcha.py script.

Change-Id: I367120a1746ac329d675c0a31c9ddb4ef10e3b0f
This commit is contained in:
Aaron Schulz 2012-12-18 15:18:11 -08:00
parent 3b987fb098
commit 82cc98f128

View file

@ -87,7 +87,7 @@ class GenerateFancyCaptchas extends Maintenance {
$this->output( "Generating $countGen new captchas...\n" );
$retVal = 1;
wfShellExec( $cmd, $retVal );
wfShellExec( $cmd, $retVal, array(), array( 'time' => 0 ) );
if ( $retVal != 0 ) {
wfRecursiveRemoveDir( $tmpDir );
$this->error( "Could not run generation script.\n", 1 );