From: Aaron Schulz Date: Thu, 7 May 2015 01:24:34 +0000 (-0700) Subject: Reduce chunk size in doBatchPush for redis X-Git-Tag: 1.31.0-rc.0~11465^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=87d1cbc074bd97d62ddddc282ec1e1cf38daea4c;p=lhc%2Fweb%2Fwiklou.git Reduce chunk size in doBatchPush for redis Change-Id: I2c66b6b69535ce2089c1fab2df962f4ebca9f62f --- diff --git a/includes/jobqueue/JobQueueRedis.php b/includes/jobqueue/JobQueueRedis.php index c0d3bec736..f1de76cbb8 100644 --- a/includes/jobqueue/JobQueueRedis.php +++ b/includes/jobqueue/JobQueueRedis.php @@ -205,7 +205,7 @@ class JobQueueRedis extends JobQueue { if ( $flags & self::QOS_ATOMIC ) { $batches = array( $items ); // all or nothing } else { - $batches = array_chunk( $items, 500 ); // avoid tying up the server + $batches = array_chunk( $items, 100 ); // avoid tying up the server } $failed = 0; $pushed = 0;