From: Aaron Schulz Date: Fri, 2 Sep 2016 15:36:08 +0000 (-0700) Subject: Remove spammy reuseConnection() wfDebug() call X-Git-Tag: 1.31.0-rc.0~5786^2 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=e2d6115c4cbcac23121b5690372cad993373f0e6;p=lhc%2Fweb%2Fwiklou.git Remove spammy reuseConnection() wfDebug() call This does not convey anything helpful and spam up debug comment and jenkins logs Change-Id: I7d20d061db28da3ba268255ecd71687a1eefb835 --- diff --git a/includes/db/loadbalancer/LoadBalancer.php b/includes/db/loadbalancer/LoadBalancer.php index c554f17109..8f0a021c8e 100644 --- a/includes/db/loadbalancer/LoadBalancer.php +++ b/includes/db/loadbalancer/LoadBalancer.php @@ -613,7 +613,6 @@ class LoadBalancer { $serverIndex = $conn->getLBInfo( 'serverIndex' ); $refCount = $conn->getLBInfo( 'foreignPoolRefCount' ); if ( $serverIndex === null || $refCount === null ) { - wfDebug( __METHOD__ . ": this connection was not opened as a foreign connection\n" ); /** * This can happen in code like: * foreach ( $dbs as $db ) {