r97526 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97525‎ | r97526 | r97527 >
Date:18:25, 19 September 2011
Author:sean_colombo
Status:ok (Comments)
Tags:todo 
Comment:
Merged in a change which causes update.php to be gentler (tests slave-lag). Part of the many Wikia diffs: http://www.mediawiki.org/wiki/Wikia_code
Modified paths:
  • /trunk/phase3/maintenance/update.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/update.php
@@ -88,6 +88,8 @@
8989 $wgTitle = Title::newFromText( "MediaWiki database updater" );
9090
9191 $this->output( "MediaWiki {$wgVersion} Updater\n\n" );
 92+
 93+ wfWaitForSlaves( 5 ); // let's not kill databases, shall we? ;) --tor
9294
9395 if ( !$this->hasOption( 'skip-compat-checks' ) ) {
9496 $this->compatChecks();

Comments

#Comment by 😂 (talk | contribs)   13:59, 28 September 2011

This only applies to the update.php command line script, not to the web-based updater. Should probably be redone in DatabaseUpdater somewhere.

Status & tagging log