Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/226212

Change subject: Added CachingSiteStore APC comments
......................................................................

Added CachingSiteStore APC comments

Change-Id: I9ed8fe42cb40beb80dc789099ca09b7a077c07bd
---
M includes/site/CachingSiteStore.php
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/12/226212/1

diff --git a/includes/site/CachingSiteStore.php 
b/includes/site/CachingSiteStore.php
index 9243f12..077dbc0 100644
--- a/includes/site/CachingSiteStore.php
+++ b/includes/site/CachingSiteStore.php
@@ -168,8 +168,10 @@
        }
 
        /**
-        * 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
         */
@@ -182,6 +184,8 @@
        /**
         * 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

-- 
To view, visit https://gerrit.wikimedia.org/r/226212
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9ed8fe42cb40beb80dc789099ca09b7a077c07bd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to