From: Aaron Schulz Date: Tue, 15 Mar 2016 22:46:56 +0000 (-0700) Subject: Track the # of times remnant refreshLinks jobs divide X-Git-Tag: 1.31.0-rc.0~7601 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=26cf9f6ed9e722ec6ed34c9022e97b823ec51343;p=lhc%2Fweb%2Fwiklou.git Track the # of times remnant refreshLinks jobs divide Change-Id: I32ec09cf1fc6d3a14d99b30ad465fcf6912ce9e0 --- diff --git a/includes/jobqueue/utils/BacklinkJobUtils.php b/includes/jobqueue/utils/BacklinkJobUtils.php index 7fb020bea5..a81cadefc6 100644 --- a/includes/jobqueue/utils/BacklinkJobUtils.php +++ b/includes/jobqueue/utils/BacklinkJobUtils.php @@ -137,6 +137,10 @@ class BacklinkJobUtils { 'batchSize' => $realBSize, 'subranges' => array_slice( $ranges, 1 ) ], + // Track how many times the base job divided for debugging + 'division' => isset( $params['division'] ) + ? ( $params['division'] + 1 ) + : 1 ] + $extraParams ); }