r16928 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r16927‎ | r16928 | r16929 >
Date:08:12, 11 October 2006
Author:tstarling
Status:old
Tags:
Comment:
Bug 7474, CACHE_DB/CACHE_MEMCACHED confusion
Modified paths:
  • /trunk/phase3/includes/ObjectCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ObjectCache.php
@@ -60,9 +60,9 @@
6161 }
6262 }
6363
64 - $wgCaches[CACHE_DB] = new MemCachedClientforWiki(
 64+ $wgCaches[CACHE_MEMCACHED] = new MemCachedClientforWiki(
6565 array('persistant' => $wgMemCachedPersistent, 'compress_threshold' => 1500 ) );
66 - $cache =& $wgCaches[CACHE_DB];
 66+ $cache =& $wgCaches[CACHE_MEMCACHED];
6767 $cache->set_servers( $wgMemCachedServers );
6868 $cache->set_debug( $wgMemCachedDebug );
6969 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r16951Revert r16928: crashed Wikimedia by breaking memcachedbrion22:41, 11 October 2006
r41323objectcache cleanup (bug 7474)aaron22:51, 27 September 2008