Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/110644
Change subject: Added --wiki parameter to runJobs.php call
......................................................................
Added --wiki parameter to runJobs.php call
Change-Id: I8f729263397bedf1c293b14704798e7a4ec60581
---
M includes/Wiki.php
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/44/110644/1
diff --git a/includes/Wiki.php b/includes/Wiki.php
index 56d23b1..99857d9 100644
--- a/includes/Wiki.php
+++ b/includes/Wiki.php
@@ -640,7 +640,8 @@
// Start a background process to run some of the jobs
wfProfileIn( __METHOD__ . '-exec' );
$retVal = 1;
- $cmd = wfShellWikiCmd( "$IP/maintenance/runJobs.php",
array( '--maxjobs', $n ) );
+ $cmd = wfShellWikiCmd( "$IP/maintenance/runJobs.php",
+ array( '--wiki', wfWikiID(), '--maxjobs', $n )
);
$cmd .= " >" . wfGetNull() . " 2>&1"; // don't hang PHP
on pipes
if ( wfIsWindows() ) {
// Using START makes this async and also works
around a bug where using
--
To view, visit https://gerrit.wikimedia.org/r/110644
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8f729263397bedf1c293b14704798e7a4ec60581
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits