Configure cache size for DirBlob cache

This commit is contained in:
Sebastian Messmer 2015-10-07 17:24:28 +02:00
parent 19c1c0e28e
commit 3f782a330f

View File

@ -33,7 +33,7 @@ namespace cryfs {
//TODO Move Cache to some common location, not in blockstore
//TODO Use other cache config (i.e. smaller max number of entries) here than in blockstore
blockstore::caching::Cache<blockstore::Key, cpputils::unique_ref<fsblobstore::FsBlob>> _cache;
blockstore::caching::Cache<blockstore::Key, cpputils::unique_ref<fsblobstore::FsBlob>, 50> _cache;
DISALLOW_COPY_AND_ASSIGN(CachingFsBlobStore);
};