dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
bb2e166
)
Merge "Removed unused method"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Thu, 9 Oct 2014 20:09:48 +0000
(20:09 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 9 Oct 2014 20:09:48 +0000
(20:09 +0000)
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