Merge "Add extra db slave wait to digest email cron"

This commit is contained in:
jenkins-bot 2013-05-03 00:08:38 +00:00 committed by Gerrit Code Review
commit 1a7485aa34

View file

@ -50,6 +50,8 @@ class ProcessEchoEmailBatch extends Maintenance {
$count++; $count++;
} }
wfWaitForSlaves( false, false, $wgEchoCluster ); 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 // double check to make sure that the id is updated
if ( !$updated ) { if ( !$updated ) {