dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e189306
)
Removed unused method
author
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 6 Oct 2014 19:54:07 +0000
(12:54 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 6 Oct 2014 19:54:07 +0000
(12:54 -0700)
Change-Id: I8d72798ed5a7048ca8c8f410612bb6645b06f634
includes/db/LoadBalancer.php
patch
|
blob
|
history
diff --git
a/includes/db/LoadBalancer.php
b/includes/db/LoadBalancer.php
index
9797f29
..
186915c
100644
(file)
--- a/
includes/db/LoadBalancer.php
+++ b/
includes/db/LoadBalancer.php
@@
-315,20
+315,6
@@
class LoadBalancer {
return $i;
}
- /**
- * Wait for a specified number of microseconds, and return the period waited
- * @param int $t
- * @return int
- */
- function sleep( $t ) {
- wfProfileIn( __METHOD__ );
- wfDebug( __METHOD__ . ": waiting $t us\n" );
- usleep( $t );
- wfProfileOut( __METHOD__ );
-
- return $t;
- }
-
/**
* Set the master wait position
* If a DB_SLAVE connection has been opened already, waits