mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Merge "Add extra db slave wait to digest email cron"
This commit is contained in:
commit
1a7485aa34
|
@ -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 ) {
|
||||||
|
|
Loading…
Reference in a new issue