moodle/cache/classes
Andrew Nicols 70aa00de87 MDL-56748 cache: Removes cache definition instances in purge_store
Previously a purge_store was only purging caches but it was leaving a
reference to the store instance for the cache definition.

As a result, the cache was never cleared away correctly and, in cases
where the cache store makes a TCP connection to a backend system, the
number of open sockets was increasing for each store instance.

After a complete purge, as found in the unit test reset, the cache
definitions should be both purged and removed.

This change should also lead to a drop in memory consumption for unit
tests as there will no longer be references to unused definition stores.
2016-11-04 13:26:46 +08:00
..
config.php MDL-53256 cache: Prevent overwriting of cache config with invalid data 2016-04-01 08:52:21 +01:00
definition.php MDL-55604 cache: Fix identifier and cacheable_object 2016-08-24 11:26:20 +10:00
dummystore.php MDL-56273 cache: Fixed initialise call 2016-11-02 14:26:50 +08:00
factory.php MDL-56748 cache: Removes cache definition instances in purge_store 2016-11-04 13:26:46 +08:00
helper.php MDL-56273 cache: Ensure requirements are met for cache stores. 2016-10-31 16:04:51 +11:00
interfaces.php MDL-45618 Fix @since PHPdoc tags. 2014-05-19 17:03:04 +01:00
loaders.php MDL-55922 cache: Improve static cache performance 2016-09-12 11:58:55 +10:00
store.php MDL-56273 cache: Use cache initialise always. 2016-10-30 13:42:43 +11:00