Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Add public method to request the disk cache to cleanup #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

daj
Copy link

@daj daj commented Feb 12, 2014

Applications may need to explicitly request a disk cache cleanup in some circumstances.

For example in our application we detect if the device hits an exception due to being very low on disk space, and if it is we reduce the size of our disk cache and immediately tell it to discard some files. Doing that our application will be functional until there is no more space to release from our internal directories.

(We did originally create a PR for this, but we accidentally closed it: #50)

Applications may need to explicitly request a disk cache cleanup in some circumstances.

Signed-off-by: Gabriel Herrera <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants