Part of canonical.librarian.librariangc View In Hierarchy
Implements interfaces: canonical.launchpad.interfaces.looptuner.ITunableLoop
The LibraryFileContent records are left untouched for the code that knows how to delete them and the corresponding files on disk.
This is the second step in a full garbage collection sweep. We determine which LibraryFileAlias entries are not being referenced by other objects in the database and delete them, if they are expired (expiry in the past or NULL), and if they have not been recently accessed (last_access over one week in the past).
Method | __init__ | Undocumented |
Method | isDone | Is this loop finished? |
Method | __call__ | Perform an iteration of the loop. |
Once this returns True, the LoopTuner will no longer touch this object.