mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Add extra db slave wait to digest email cron
Change-Id: Iaa5fc89750b2a4bbe5d52bb9e75c2ac90fc3304b
This commit is contained in:
parent
4c99cdd60e
commit
5df153591d
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue