Allow to control the metadata cache, fixes #278

This commit is contained in:
2021-10-30 13:23:02 +02:00
parent 7bb67dd4c6
commit 190b5dedba
12 changed files with 60 additions and 28 deletions

View File

@@ -36,6 +36,10 @@ key-bindings:
show-all-tools:
KChar: 't'
# The caching for the metadata files containing download info, depending on last access time
# of the file. These usually are in '~/.ghcup/cache/ghcup-<ver>.yaml'.
meta-cache: 300 # in seconds
# Where to get GHC/cabal/hls download info/versions from. For more detailed explanation
# check the 'URLSource' type in the code.
url-source: