Wikia code/includes/db/LoadMonitor.php
Appearance
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. The information shown below refers to the now unmaintained 1.16 MediaWiki release. The current stable release number is 1.43.0. |
--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\includes\db\LoadMonitor.php 2011-07-18 22:30:57.701171900 +0100
+++ D:\Programming\SVN\wikia\trunk\includes\db\LoadMonitor.php 2011-08-17 15:28:13.522460900 +0100
@@ -68,7 +68,7 @@
$wgMemc = wfGetMainCache();
$masterName = $this->parent->getServerName( 0 );
- $memcKey = wfMemcKey( 'lag_times', $masterName );
+ $memcKey = join( ':', array( 'db', 'lag_times', $masterName ) );
$times = $wgMemc->get( $memcKey );
if ( $times ) {
# Randomly recache with probability rising over $expiry