From: Aaron Schulz Date: Mon, 22 Apr 2013 07:04:14 +0000 (-0700) Subject: Renamed QoS_Atomic => QOS_ATOMIC in some places. X-Git-Tag: 1.31.0-rc.0~19905 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=ce820bd134a583bbb63686661fbdd625327c9917;p=lhc%2Fweb%2Fwiklou.git Renamed QoS_Atomic => QOS_ATOMIC in some places. Change-Id: Ib6c4a1e36e8caddd08852d0fdce005ed0bc00cee --- 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