diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-07-19 15:05:54 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-07-19 15:05:54 +0300 |
commit | 2727bbca32cad2b0e16e6f58578e4c7e126415fd (patch) | |
tree | 381992d1d99654f398df060f1b9226203e6f64ab /obnamlib/fmt_ga/chunk_store.py | |
parent | 96f3482abb08e67caebacb65a555fbf0e4d9c2ae (diff) | |
download | obnam-2727bbca32cad2b0e16e6f58578e4c7e126415fd.tar.gz |
Split chunk and DIR object cache sizes
Diffstat (limited to 'obnamlib/fmt_ga/chunk_store.py')
-rw-r--r-- | obnamlib/fmt_ga/chunk_store.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/obnamlib/fmt_ga/chunk_store.py b/obnamlib/fmt_ga/chunk_store.py index c0767dc0..3740d912 100644 --- a/obnamlib/fmt_ga/chunk_store.py +++ b/obnamlib/fmt_ga/chunk_store.py @@ -39,6 +39,8 @@ class GAChunkStore(object): self._bag_store.set_location(fs, self._dirname) self._blob_store = obnamlib.BlobStore() self._blob_store.set_bag_store(self._bag_store) + self._blob_store.set_max_cache_bytes( + obnamlib.DEFAULT_CHUNK_CACHE_BYTES) if self._max_chunk_size is not None: self._blob_store.set_max_bag_size(self._max_chunk_size) |