Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear and/or Disable Cache not possible #11

Open
sky1ab opened this issue Oct 21, 2021 · 2 comments
Open

Clear and/or Disable Cache not possible #11

sky1ab opened this issue Oct 21, 2021 · 2 comments

Comments

@sky1ab
Copy link

sky1ab commented Oct 21, 2021

Version 1.12

  1. disable "Use Cached Results"
  2. Cache Size 0
  3. hit "Clear Cache"
  4. cache.sdf still contains data, so i delete it
  5. verify a fileset with sfv

result: cache.sdf is re-created, with file+path info of the recent verified files in it

the "Clear Cache" button seems to do nothing, and the disabled "Use Cached Results" is ignored too

expected behaviour: "Clear Cache" should really empty the cache.sdf and, with the above settings, it should not get recreated and filled on further checks

@pyrescene
Copy link

I cannot reproduce this issue. %localappdata%\ilSFV\cache.sdf is cleaned up.

The 'empty' cache file is 192 kB (196.608 bytes) large for me. It contains a settings table and 3 cache tables that are empty.

@sky1ab
Copy link
Author

sky1ab commented Nov 3, 2021

ok, i found out it takes several seconds for the cleanup.

i expected the "cache cleared" confirmation popup to confirm "cache was cleared" not "cache will soon be cleared"
thus i didn't wait long enough to see the filesize decrease
additionally there might have been some file lock issue due to having the cache.sdf file open in another application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants