You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
We use this cache to store images and allow the user to adjust the cache size. If there is a sufficiently large difference in current storage vs. new cache size, then the cache is at least partially reduced imediately. However when there is a difference which does not match the requirements of half of the journal size or 2000 ops, then it seems the size will not be adjusted. It would be nice to have a call like DiskLruCache.setMaxSizeImmediate(size) or just a flag on whether it should be immediately enforced.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We use this cache to store images and allow the user to adjust the cache size. If there is a sufficiently large difference in current storage vs. new cache size, then the cache is at least partially reduced imediately. However when there is a difference which does not match the requirements of half of the journal size or 2000 ops, then it seems the size will not be adjusted. It would be nice to have a call like DiskLruCache.setMaxSizeImmediate(size) or just a flag on whether it should be immediately enforced.
The text was updated successfully, but these errors were encountered: