jenkins-bot has submitted this change and it was merged.

Change subject: Track the # of times remnant refreshLinks jobs divide
......................................................................


Track the # of times remnant refreshLinks jobs divide

Change-Id: I32ec09cf1fc6d3a14d99b30ad465fcf6912ce9e0
---
M includes/jobqueue/utils/BacklinkJobUtils.php
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Ori.livneh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/jobqueue/utils/BacklinkJobUtils.php 
b/includes/jobqueue/utils/BacklinkJobUtils.php
index 7fb020b..a81cade 100644
--- a/includes/jobqueue/utils/BacklinkJobUtils.php
+++ b/includes/jobqueue/utils/BacklinkJobUtils.php
@@ -137,6 +137,10 @@
                                                '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
                        );
                }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I32ec09cf1fc6d3a14d99b30ad465fcf6912ce9e0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to