Skip to content

data/userconfig.yaml: Document the cache.quota setting

Mathieu Bridon requested to merge bochecha/cache-size into master

Description

I tried using the cache.quota setting yesterday and was entirely confused as to what it accepted.

@juergbi on IRC explained it took a size in bytes, with common unit suffixes accepted.

I had to read the source code to realize percentages were also accepted.

This change is an attempt at making sure the next person looking at this setting will understand how to use it. 🙂

Merge request reports