summaryrefslogtreecommitdiff
path: root/obnamlib/__init__.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-07-18 20:41:12 +0300
committerLars Wirzenius <liw@liw.fi>2015-07-18 20:41:12 +0300
commit3915676a4d961247cf9d22d98af6a31ebe1f6fd7 (patch)
treeec5c76e31ad8cde7a16b12b6794d1558e3b0209d /obnamlib/__init__.py
parent1f1fdec37feafbdbb2fc9525440f404d93ee421f (diff)
downloadobnam-3915676a4d961247cf9d22d98af6a31ebe1f6fd7.tar.gz
Cache blobs in BlobStore
Diffstat (limited to 'obnamlib/__init__.py')
-rw-r--r--obnamlib/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/obnamlib/__init__.py b/obnamlib/__init__.py
index c7d64d86..74536e2f 100644
--- a/obnamlib/__init__.py
+++ b/obnamlib/__init__.py
@@ -53,6 +53,7 @@ DEFAULT_LRU_SIZE = 256
DEFAULT_CHUNKIDS_PER_GROUP = 1024
DEFAULT_NAGIOS_WARN_AGE = '27h'
DEFAULT_NAGIOS_CRIT_AGE = '8d'
+DEFAULT_BAG_CACHE_BYTES = 256 * 1024**2
# The following values have been determined empirically on a laptop
# with an encrypted ext4 filesystem. Other values might be better for