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:
e2a5c00
)
Apply live hack from Wikimedia code base: bump load balancer polling scaleback factor...
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 29 Jan 2008 01:23:37 +0000
(
01:23
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 29 Jan 2008 01:23:37 +0000
(
01:23
+0000)
includes/LoadBalancer.php
patch
|
blob
|
history
diff --git
a/includes/LoadBalancer.php
b/includes/LoadBalancer.php
index
34f83d0
..
185c6d3
100644
(file)
--- a/
includes/LoadBalancer.php
+++ b/
includes/LoadBalancer.php
@@
-20,7
+20,7
@@
class LoadBalancer {
* Scale polling time so that under overload conditions, the database server
* receives a SHOW STATUS query at an average interval of this many microseconds
*/
- const AVG_STATUS_POLL =
2
000;
+ const AVG_STATUS_POLL =
30
000;
function __construct( $servers, $failFunction = false, $waitTimeout = 10, $waitForMasterNow = false )
{