Issue Feature Closed

#23316[Caching framework] Add scheduler task to execute garbage collection

Christian Kuhn 07/30/10, 16:10 updated 03/29/11, 14:24

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.