pkg/config: Update GoGetWorkers default/docs (#1052)

* pkg/config: Update GoGetWorkers default/docs

* fix tests
This commit is contained in:
Marwan Sulaiman
2019-02-11 11:51:38 -05:00
committed by GitHub
parent feff9872cd
commit aa3fb3389c
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -15,8 +15,11 @@ GoEnv = "development"
# GoGetWorkers specifies how many times you can concurrently
# go mod download, this is so that low performance instances
# can manage go get more sanely and not run out of disk or memory.
# One way to think about is: the number of GoGetWorkers corresponds
# directly to how many parallel "git clones" your underlying machine
# can handle.
# Env override: ATHENS_GOGET_WORKERS
GoGetWorkers = 30
GoGetWorkers = 10
# ProtocolWorkers specifies how many concurrent
# requests can you handle at a time for all
+1 -1
View File
@@ -206,7 +206,7 @@ func TestParseExampleConfig(t *testing.T) {
GoEnv: "development",
LogLevel: "debug",
GoBinary: "go",
GoGetWorkers: 30,
GoGetWorkers: 10,
ProtocolWorkers: 30,
CloudRuntime: "none",
TimeoutConf: TimeoutConf{