From 46211d468b484cb701147271ea66f872c050bed1 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 21 Jul 2015 12:52:30 -0700 Subject: [PATCH] Added CachingSiteStore APC comments Change-Id: I9ed8fe42cb40beb80dc789099ca09b7a077c07bd --- includes/site/CachingSiteStore.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/site/CachingSiteStore.php b/includes/site/CachingSiteStore.php index 9243f12b8b..077dbc0efd 100644 --- a/includes/site/CachingSiteStore.php +++ b/includes/site/CachingSiteStore.php @@ -168,9 +168,11 @@ class CachingSiteStore implements SiteStore { } /** - * Purges the internal and external cache of the site list, forcing the list + * Purges the internal and external cache of the site list, forcing the list. * of sites to be reloaded. * + * Only use this for testing, as APC is typically used and is per-server + * * @since 1.25 */ public function reset() { @@ -182,6 +184,8 @@ class CachingSiteStore implements SiteStore { /** * Clears the list of sites stored. * + * Only use this for testing, as APC is typically used and is per-server. + * * @see SiteStore::clear() * * @return bool Success -- 2.20.1