r93972 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93971‎ | r93972 | r93973 >
Date:14:16, 5 August 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix boolean fail from r93971
Modified paths:
  • /branches/wmf/1.17wmf1/includes/SquidUpdate.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/includes/SquidUpdate.php
@@ -155,7 +155,7 @@
156156 // Chances are that means it isn't in the cache
157157 // Start saving a cached value
158158 $add = apc_add( 'squidhtcppurge', 1 );
159 - if ( $add === true ) {
 159+ if ( $add === false ) {
160160 wfDebugLog( 'htcp', 'Unable to set value to APC cache' );
161161 $id = 0;
162162 } else {

Follow-up revisions

RevisionCommit summaryAuthorDate
r975051.18wmf1 Merge r83867, r93686, r93807, r93971, r93972 (some manually do to lo...reedy15:31, 19 September 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r93971Use APC caching to send incremental TCP requests, rather than using rand();reedy14:15, 5 August 2011

Status & tagging log