From 5df153591ddeda5e56f0ddab42ad6fb08b8b2a8c Mon Sep 17 00:00:00 2001 From: bsitu Date: Thu, 2 May 2013 14:11:49 -0700 Subject: [PATCH] Add extra db slave wait to digest email cron Change-Id: Iaa5fc89750b2a4bbe5d52bb9e75c2ac90fc3304b --- maintenance/processEchoEmailBatch.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maintenance/processEchoEmailBatch.php b/maintenance/processEchoEmailBatch.php index 8927c6273..222af2d6e 100644 --- a/maintenance/processEchoEmailBatch.php +++ b/maintenance/processEchoEmailBatch.php @@ -50,6 +50,8 @@ class ProcessEchoEmailBatch extends Maintenance { $count++; } wfWaitForSlaves( false, false, $wgEchoCluster ); + // This is required since we are updating user properties in main wikidb + wfWaitForSlaves(); // double check to make sure that the id is updated if ( !$updated ) {