Added CachingSiteStore APC comments
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 21 Jul 2015 19:52:30 +0000 (12:52 -0700)
committerUmherirrender <umherirrender_de.wp@web.de>
Sat, 25 Jul 2015 19:14:19 +0000 (19:14 +0000)
Change-Id: I9ed8fe42cb40beb80dc789099ca09b7a077c07bd

includes/site/CachingSiteStore.php

index 9243f12..077dbc0 100644 (file)
@@ -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