Aaron Schulz has uploaded a new change for review.

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

Change subject: Lower RunJobs default ?maxjobs to lower memory use
......................................................................

Lower RunJobs default ?maxjobs to lower memory use

If too many buffered stats or JSON response sub-arrays build up,
the request might hit memory limits.

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


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

diff --git a/rpc/RunJobs.php b/rpc/RunJobs.php
index 0d7ccd0..055caac 100755
--- a/rpc/RunJobs.php
+++ b/rpc/RunJobs.php
@@ -42,7 +42,7 @@
        $runner = new JobRunner();
        $response = $runner->run( array(
                'type'     => isset( $_GET['type'] ) ? $_GET['type'] : false,
-               'maxJobs'  => isset( $_GET['maxjobs'] ) ? $_GET['maxjobs'] : 
10000,
+               'maxJobs'  => isset( $_GET['maxjobs'] ) ? $_GET['maxjobs'] : 
5000,
                'maxTime'  => isset( $_GET['maxtime'] ) ? $_GET['maxtime'] : 30
        ) );
 

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

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

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

Reply via email to