#690: BibAuthorID: garbage collection for cache
-------------------------+-----------------
Reporter: simko | Owner:
Type: enhancement | Status: new
Priority: major | Milestone:
Component: BibAuthorID | Version:
Keywords: |
-------------------------+-----------------
Now that BibAuthorID has a caching mechanism, we need to garbage collect
old entries from the cache from time to time. `inveniogc` runs typically
every night, so we can plug there a little function that would wipe out
old BibAuthorID cache entries that are older than say 24 hours.
We can plug this BibAuthorID garbage collection under existing `inveniogc
-c` CLI option that is a generic cache-cleaning option. IOW, we can take
current `clean_cache()` and make it a generic function that would call
`clean_cache_rss()` (moving existing code there),
`clean_cache_webjournal()` (moving existing code there), and a new
`clean_cache_bibauthorid()` that is to be developed as part of this
ticket.
--
Ticket URL: <http://invenio-software.org/ticket/690>
Invenio <http://invenio-software.org>