summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Bridon <bochecha@daitauha.fr>2018-09-28 11:20:20 +0200
committerMathieu Bridon <bochecha@daitauha.fr>2018-09-28 11:20:20 +0200
commit5cdfac810c50fd7d8f541427ea839a5ad95879d1 (patch)
treee2b8f63655e7a70b2ff86344ea24e5d0273db5ea
parent7babd55c248a5817a279c39f030690d60d631759 (diff)
downloadbuildstream-bochecha/cache-size.tar.gz
data/userconfig.yaml: Document the cache.quota settingbochecha/cache-size
-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
#