summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorLuis Henrique Mulinari <luis.mulinari@gmail.com>2022-10-26 10:29:08 +0100
committerLuis Henrique Mulinari <luis.mulinari@gmail.com>2022-10-26 11:10:00 +0100
commit6c0aa5b00a8c1e9e2d2313bfa355f18525bee880 (patch)
tree5898d4190bdffc8c185faaacc96f3983bfbfe2d0 /cmd
parent542c735926c9208dc0fe9fc02026a110ca0343f9 (diff)
downloaddocker-6c0aa5b00a8c1e9e2d2313bfa355f18525bee880.tar.gz
Fix the max-concurrent-downloads and max-concurrent-uploads configs documentation
This fix tries to address issues raised in #44346. The max-concurrent-downloads and max-concurrent-uploads limits are applied for the whole engine and not for each pull/push command. Signed-off-by: Luis Henrique Mulinari <luis.mulinari@gmail.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dockerd/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dockerd/config.go b/cmd/dockerd/config.go
index 8b6dfed39e..263efc28aa 100644
--- a/cmd/dockerd/config.go
+++ b/cmd/dockerd/config.go
@@ -45,8 +45,8 @@ func installCommonConfigFlags(conf *config.Config, flags *pflag.FlagSet) error {
flags.Var(opts.NewNamedMapOpts("log-opts", conf.LogConfig.Config, nil), "log-opt", "Default log driver options for containers")
flags.StringVar(&conf.CorsHeaders, "api-cors-header", "", "Set CORS headers in the Engine API")
- flags.IntVar(&conf.MaxConcurrentDownloads, "max-concurrent-downloads", conf.MaxConcurrentDownloads, "Set the max concurrent downloads for each pull")
- flags.IntVar(&conf.MaxConcurrentUploads, "max-concurrent-uploads", conf.MaxConcurrentUploads, "Set the max concurrent uploads for each push")
+ flags.IntVar(&conf.MaxConcurrentDownloads, "max-concurrent-downloads", conf.MaxConcurrentDownloads, "Set the max concurrent downloads")
+ flags.IntVar(&conf.MaxConcurrentUploads, "max-concurrent-uploads", conf.MaxConcurrentUploads, "Set the max concurrent uploads")
flags.IntVar(&conf.MaxDownloadAttempts, "max-download-attempts", conf.MaxDownloadAttempts, "Set the max download attempts for each pull")
flags.IntVar(&conf.ShutdownTimeout, "shutdown-timeout", conf.ShutdownTimeout, "Set the default shutdown timeout")