Open
Description
Is it possible to add a new environment variable such that if the filesystem storage reaches a certain percent used, it would expire the oldest cache items?
CLEANUP_FILESYSTEM_PERCENT
- Prepare to save a cache
- Check the storage percentage used
- If above
CLEANUP_FILESYSTEM_PERCENT
purge the oldest item in the cache. - Save the new cache item
I could see this working separately or in parallel with CLEANUP_OLDER_THAN_DAYS
.
Metadata
Metadata
Assignees
Labels
No labels