diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2022-06-15 23:16:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-15 23:16:44 -0700 |
| commit | 82f3bcc65ebbd9514862dcf44a63dcc22603c701 (patch) | |
| tree | bbe76ee3e9b521a4b93ab9a51b0bd787c1b06412 /weed/command/server.go | |
| parent | 40055211bd91744cf7a5f79d91eda10d4c7beaa7 (diff) | |
| parent | df0ce31a2ee87bf4550da20cf7c1095d154b24e3 (diff) | |
| download | seaweedfs-82f3bcc65ebbd9514862dcf44a63dcc22603c701.tar.xz seaweedfs-82f3bcc65ebbd9514862dcf44a63dcc22603c701.zip | |
Merge pull request #3081 from paochiang/volume_upload_limit_fix
exclude replication from the concurrentUploadLimitMB
Diffstat (limited to 'weed/command/server.go')
| -rw-r--r-- | weed/command/server.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/server.go b/weed/command/server.go index ba71a44bd..b1812bb9b 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -132,6 +132,7 @@ func init() { serverOptions.v.pprof = cmdServer.Flag.Bool("volume.pprof", false, "enable pprof http handlers. precludes --memprofile and --cpuprofile") serverOptions.v.idxFolder = cmdServer.Flag.String("volume.dir.idx", "", "directory to store .idx files") serverOptions.v.enableTcp = cmdServer.Flag.Bool("volume.tcp", false, "<exprimental> enable tcp port") + serverOptions.v.inflightUploadDataTimeout = cmdServer.Flag.Duration("volume.inflightUploadDataTimeout", 60*time.Second, "inflight upload data wait timeout of volume servers") s3Options.port = cmdServer.Flag.Int("s3.port", 8333, "s3 server http listen port") s3Options.portGrpc = cmdServer.Flag.Int("s3.port.grpc", 0, "s3 server grpc listen port") |
