From e8552b7e5e3fdb741f03224855a0b324c6920c74 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 9 Jul 2015 13:27:44 -0700 Subject: [PATCH] Made LoadMonitor use wfGlobalCacheKey() and tweaked the key name * 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/db/LoadMonitor.php b/includes/db/LoadMonitor.php index 7dc2da0647..01d2f95472 100644 --- 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 wfForeignMemcKey( $this->parent->getServerName( 0 ), '', 'lag_times' ); + return wfGlobalCacheKey( 'lag-times', $this->parent->getServerName( 0 ) ); } } -- 2.20.1