ipfs-sqlite-block-store icon indicating copy to clipboard operation
ipfs-sqlite-block-store copied to clipboard

free disk space as a size target

Open dvc94ch opened this issue 4 years ago • 1 comments

It would be interesting to size the cache based on the amount of free disk space, so if the disk fills up the cache gets smaller to free up disk space.

dvc94ch avatar Dec 26 '20 20:12 dvc94ch

Figuring out how much space you have would be out of scope for this library, so I guess this means that we would need a way to adjust size targets while the store is running, and not just on startup.

rklaehn avatar Dec 27 '20 11:12 rklaehn