Merge "Make updateCollation wait for slaves every 500 (instead of 2000)"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 12 May 2016 11:47:08 +0000 (11:47 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 12 May 2016 11:47:08 +0000 (11:47 +0000)
maintenance/updateCollation.php

index 2db0139..922cc87 100644 (file)
@@ -34,7 +34,7 @@ require_once __DIR__ . '/Maintenance.php';
  */
 class UpdateCollation extends Maintenance {
        const BATCH_SIZE = 100; // Number of rows to process in one batch
-       const SYNC_INTERVAL = 20; // Wait for slaves after this many batches
+       const SYNC_INTERVAL = 5; // Wait for slaves after this many batches
 
        public $sizeHistogram = [];