From fb784e6cdf99197fe5512bfaf7f50ec12c08d825 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 23 Aug 2005 16:55:54 +0000 Subject: [PATCH] Sleep time is highly variable, removing it from the profiling section name --- includes/LoadBalancer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ); -- 2.20.1