Aaron Schulz has uploaded a new change for review. https://gerrit.wikimedia.org/r/60237
Change subject: Renamed QoS_Atomic => QOS_ATOMIC in some places. ...................................................................... Renamed QoS_Atomic => QOS_ATOMIC in some places. Change-Id: Ib6c4a1e36e8caddd08852d0fdce005ed0bc00cee --- M includes/job/JobQueueFederated.php 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/37/60237/1 diff --git a/includes/job/JobQueueFederated.php b/includes/job/JobQueueFederated.php index 7a5d113..b517d55 100644 --- a/includes/job/JobQueueFederated.php +++ b/includes/job/JobQueueFederated.php @@ -212,7 +212,7 @@ $partitionRing = new HashRing( $partitionsTry ); // Because jobs are spread across partitions, per-job de-duplication needs // to use a consistent hash to avoid allowing duplicate jobs per partition. - // When inserting a batch of de-duplicated jobs, QoS_Atomic is disregarded. + // When inserting a batch of de-duplicated jobs, QOS_ATOMIC is disregarded. $uJobsByPartition = array(); // (partition name => job list) foreach ( $jobs as $key => $job ) { if ( $job->ignoreDuplicates() ) { @@ -222,7 +222,7 @@ } } // Get the batches of jobs that are not de-duplicated - if ( $flags & self::QoS_Atomic ) { + if ( $flags & self::QOS_ATOMIC ) { $nuJobBatches = array( $jobs ); // all or nothing } else { // Split the jobs into batches and spread them out over servers if there -- To view, visit https://gerrit.wikimedia.org/r/60237 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib6c4a1e36e8caddd08852d0fdce005ed0bc00cee Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits