r60970 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60969‎ | r60970 | r60971 >
Date:15:23, 12 January 2010
Author:midom
Status:ok
Tags:
Comment:
backup
Modified paths:
  • /branches/wmf-deployment/languages/LanguageConverter.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/languages/LanguageConverter.php
@@ -663,7 +663,8 @@
664664 $this->mTables = false;
665665 if($fromcache) {
666666 wfProfileIn( __METHOD__.'-cache' );
667 - $this->mTables = $wgMemc->get( $this->mCacheKey );
 667+ //$this->mTables = $wgMemc->get( $this->mCacheKey );
 668+ $this->mTables = apc_fetch( $this->mCacheKey );
668669 wfProfileOut( __METHOD__.'-cache' );
669670 }
670671 if ( !$this->mTables || !isset( $this->mTables[self::CACHE_VERSION_KEY] ) ) {
@@ -680,7 +681,8 @@
681682 $this->postLoadTables();
682683 $this->mTables[self::CACHE_VERSION_KEY] = true;
683684
684 - $wgMemc->set($this->mCacheKey, $this->mTables, 43200);
 685+ // $wgMemc->set($this->mCacheKey, $this->mTables, 43200);
 686+ apc_store($this->mCacheKey, $this->mTables, 43200);
685687 wfProfileOut( __METHOD__.'-recache' );
686688 }
687689 wfProfileOut( __METHOD__ );

Follow-up revisions

RevisionCommit summaryAuthorDate
r82589Fix for r81460: botched merge conflict resolution when porting r60970 to here...tstarling02:33, 22 February 2011
r975121.18wmf1 Merge r60970, r69199, r77266, r96827 (Some of the revisions from r81...reedy16:01, 19 September 2011

Status & tagging log