EBernhardson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/249688

Change subject: [rpc] Run as many jobs as fit in the time limit
......................................................................

[rpc] Run as many jobs as fit in the time limit

Change-Id: Ia6ff38b948de17f156064405f28625c2166200c1
---
M rpc/RunJobs.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/88/249688/1

diff --git a/rpc/RunJobs.php b/rpc/RunJobs.php
index 2085ab5..c984c2d 100755
--- a/rpc/RunJobs.php
+++ b/rpc/RunJobs.php
@@ -37,7 +37,7 @@
        $runner = new JobRunner();
        $response = $runner->run( array(
                'type'     => isset( $_GET['type'] ) ? $_GET['type'] : false,
-               'maxJobs'  => isset( $_GET['maxjobs'] ) ? $_GET['maxjobs'] : 1,
+               'maxJobs'  => isset( $_GET['maxjobs'] ) ? $_GET['maxjobs'] : 
false,
                'maxTime'  => isset( $_GET['maxtime'] ) ? $_GET['maxtime'] : 30
        ) );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/249688
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia6ff38b948de17f156064405f28625c2166200c1
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to