Configure cache size for DirBlob cache
This commit is contained in:
parent
19c1c0e28e
commit
3f782a330f
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user