[Marble-devel] Review Request 119982: FileWatcher: honor disk cache size
Thibaut Gridel
tgridel at free.fr
Mon Sep 8 18:13:11 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119982/
-----------------------------------------------------------
(Updated Sept. 8, 2014, 6:13 p.m.)
Status
------
This change has been marked as submitted.
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/20140908/f23865b9/attachment.html>
More information about the Marble-devel
mailing list