summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Pollard <tom.pollard@codethink.co.uk>2018-09-28 10:34:13 +0000
committerTom Pollard <tom.pollard@codethink.co.uk>2018-09-28 10:34:13 +0000
commit5d3f039f0d2067f14c1d746d7d00ad859b1c4737 (patch)
treee2b8f63655e7a70b2ff86344ea24e5d0273db5ea
parent7babd55c248a5817a279c39f030690d60d631759 (diff)
parent5cdfac810c50fd7d8f541427ea839a5ad95879d1 (diff)
downloadbuildstream-5d3f039f0d2067f14c1d746d7d00ad859b1c4737.tar.gz
Merge branch 'bochecha/cache-size' into 'master'
data/userconfig.yaml: Document the cache.quota setting See merge request BuildStream/buildstream!833
-rw-r--r--buildstream/data/userconfig.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/buildstream/data/userconfig.yaml b/buildstream/data/userconfig.yaml
index 5f9b01120..efe419cfc 100644
--- a/buildstream/data/userconfig.yaml
+++ b/buildstream/data/userconfig.yaml
@@ -26,8 +26,13 @@ logdir: ${XDG_CACHE_HOME}/buildstream/logs
# Cache
#
cache:
- # Size of the artifact cache - BuildStream will attempt to keep the
+ # Size of the artifact cache in bytes - BuildStream will attempt to keep the
# artifact cache within this size.
+ # If the value is suffixed with K, M, G or T, the specified memory size is
+ # parsed as Kilobytes, Megabytes, Gigabytes, or Terabytes (with the base
+ # 1024), respectively.
+ # Alternatively, a percentage value may be specified, which is taken relative
+ # to the isize of the file system containing the cache.
quota: infinity
#