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:
6a779b5
)
Made LoadMonitor use wfGlobalCacheKey() and tweaked the key name
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 9 Jul 2015 20:27:44 +0000
(13:27 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 9 Jul 2015 20:27:53 +0000
(13:27 -0700)
* Changing the key name makes sense after
9cf6637
to avoid
problems with het deploy and competing key formats.
Bug: T105373
Change-Id: I2e6888198b1ee4fb4f758070b03d7fe3eac547fc
includes/db/LoadMonitor.php
patch
|
blob
|
history
diff --git
a/includes/db/LoadMonitor.php
b/includes/db/LoadMonitor.php
index
7dc2da0
..
01d2f95
100644
(file)
--- a/
includes/db/LoadMonitor.php
+++ b/
includes/db/LoadMonitor.php
@@
-166,6
+166,6
@@
class LoadMonitorMySQL implements LoadMonitor {
private function getLagTimeCacheKey() {
# Lag is per-server, not per-DB, so key on the master DB name
- return wf
ForeignMemcKey( $this->parent->getServerName( 0 ), '', 'lag_times'
);
+ return wf
GlobalCacheKey( 'lag-times', $this->parent->getServerName( 0 )
);
}
}