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

This commit is contained in:
Aaron Schulz 2013-01-02 18:27:41 +00:00 committed by Gerrit Code Review
commit 0e761f3325

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 );