Merge "[FileBackend] Fixed parallelize check in doQuickOperationsInternal()."
authorReedy <reedy@wikimedia.org>
Thu, 17 May 2012 23:48:58 +0000 (23:48 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 17 May 2012 23:48:58 +0000 (23:48 +0000)
1  2 
includes/filerepo/backend/FileBackendStore.php

@@@ -943,11 -943,9 +943,11 @@@ abstract class FileBackendStore extend
         * @throws MWException
         */
        final protected function doQuickOperationsInternal( array $ops ) {
 +              wfProfileIn( __METHOD__ );
 +              wfProfileIn( __METHOD__ . '-' . $this->name );
                $status = Status::newGood();
  
-               $async = $this->parallelize;
+               $async = ( $this->parallelize === 'implicit' );
                $maxConcurrency = $this->concurrency; // throttle
  
                $statuses = array(); // array of (index => Status)