From ce820bd134a583bbb63686661fbdd625327c9917 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 22 Apr 2013 00:04:14 -0700 Subject: [PATCH] Renamed QoS_Atomic => QOS_ATOMIC in some places. Change-Id: Ib6c4a1e36e8caddd08852d0fdce005ed0bc00cee --- includes/job/JobQueueFederated.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/job/JobQueueFederated.php b/includes/job/JobQueueFederated.php index 7a5d11330d..b517d559b4 100644 --- a/includes/job/JobQueueFederated.php +++ b/includes/job/JobQueueFederated.php @@ -212,7 +212,7 @@ class JobQueueFederated extends JobQueue { $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 @@ class JobQueueFederated extends JobQueue { } } // 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 -- 2.20.1