From: Tim Starling Date: Tue, 23 Aug 2005 16:55:54 +0000 (+0000) Subject: Sleep time is highly variable, removing it from the profiling section name X-Git-Tag: 1.6.0~1830 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=fb784e6cdf99197fe5512bfaf7f50ec12c08d825;p=lhc%2Fweb%2Fwiklou.git Sleep time is highly variable, removing it from the profiling section name --- diff --git a/includes/LoadBalancer.php b/includes/LoadBalancer.php index 4a0bf88452..287ca8b92c 100644 --- a/includes/LoadBalancer.php +++ b/includes/LoadBalancer.php @@ -212,7 +212,7 @@ class LoadBalancer { } if ( $sleepTime ) { $totalElapsed += $sleepTime; - $x = "{$this->mServers[$serverIndex]['host']} $sleepTime [$serverIndex]"; + $x = "{$this->mServers[$serverIndex]['host']} [$serverIndex]"; wfProfileIn( "$fname-sleep $x" ); usleep( $sleepTime ); wfProfileOut( "$fname-sleep $x" );