Changed on-request job running to shell out instead of doing a loop.
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 18 Apr 2013 05:05:47 +0000 (22:05 -0700)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 25 Apr 2013 23:46:05 +0000 (23:46 +0000)
commitccabd0efb05ef07cbca76da18390f68c6c4fc00d
tree6e1c46b8a51f526570c1adb7d2dc967934334491
parent06434edcbd7b5e81b03c14d7b83dc85b24e5538a
Changed on-request job running to shell out instead of doing a loop.

* Also factored out a new wfShellExecDisabled() function.
* This will keep the process in the background if possible to avoid
  killing site performance, especially with slow jobs.
* This also keep fatals and uncatcheable exceptions from
  hitting the user.
* If $wgPhpCli is not set to an actual path or safe mode
  is on, then the old code will be used.

Change-Id: I6a28152251659ee53eee2604f16d5bf02c85a44f
includes/GlobalFunctions.php
includes/Wiki.php