Actions
Feature #23316
closed[Caching framework] Add scheduler task to execute garbage collection
Start date:
2010-07-30
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:
Description
This is an SVN patch request.
Type: Feature
BT:
Branches: trunk
Problem:
Some caching framework cache backends (like the default database backend) do not delete expired cache data automatically. Therefore they implement the collectGarbage() method. This method is currently never called by core.
Solution:
Implement a caching framework garbage collection task for the scheduler, enabling admins to configure the execution of the garbage colletion when the system is idle. An additional field in the task lets an admin choose which backend types should be cleaned up. The task then finds all configured caches with this backend type and calls collectGarbage().
(issue imported from #M15306)
Files
Actions