[Marble-devel] Review Request 119982: FileWatcher: honor disk cache size

Thibaut Gridel tgridel at free.fr
Thu Aug 28 20:57:27 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119982/
-----------------------------------------------------------

Review request for Marble.


Repository: marble


Description
-------

Current code stops are identifying localDir()/maps as dangerous to handle.

This implementation gets a lot simpler, trying to remove oldest map tiles below level 4 to keep at disk cache size value.

The internal weirdness has been kept (delete in batches, define a soft limit...) until some more cleanup is done.


Diffs
-----

  src/lib/marble/FileStorageWatcher.h cf1ae64 
  src/lib/marble/FileStorageWatcher.cpp 8706e71 
  src/lib/marble/MarbleModel.cpp 5f1b88a 

Diff: https://git.reviewboard.kde.org/r/119982/diff/


Testing
-------

Basic functionnality is here, if you don't want your precious tiles to be dropped you may toggle writeable bit off.


Thanks,

Thibaut Gridel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20140828/52a8d7f9/attachment.html>


More information about the Marble-devel mailing list