Allow users to specify the module fetcher's temporary directory (#1636)

This commit is contained in:
Marwan Sulaiman
2020-06-25 17:15:15 -04:00
committed by GitHub
parent 52934cfa46
commit ef15c3458b
6 changed files with 46 additions and 10 deletions
+10
View File
@@ -62,6 +62,16 @@ GoBinaryEnvVars = ["GOPROXY=direct"]
# Env override: ATHENS_GOGET_WORKERS
GoGetWorkers = 10
# GoGetDir specifies the temporary directory that Athens
# will use to fetch modules from VCS prior to persisting
# them to a storage backend. This is useful if you are in a
# Kubernetes environment where a specific path is volumed into
# a directory that has larger disk resources. If the value is
# empty, Athens will use the default OS temporary directory.
#
# Env override: ATHENS_GOGOET_DIR
GoGetDir = ""
# ProtocolWorkers specifies how many concurrent
# requests can you handle at a time for all
# download protocol paths. This is different from