diff options
| author | liubaojiang <1838095916@qq.com> | 2022-05-20 18:18:20 +0800 |
|---|---|---|
| committer | liubaojiang <1838095916@qq.com> | 2022-05-21 10:38:08 +0800 |
| commit | 076e48a6761396034b6c8132278330593ca698c5 (patch) | |
| tree | 782b1b6faf7a2305b4692e738cb5d800111188ab /weed/command/server.go | |
| parent | 71b2e6223e07eaa5d70efdc8ccbe7f39ce6a0169 (diff) | |
| download | seaweedfs-076e48a6761396034b6c8132278330593ca698c5.tar.xz seaweedfs-076e48a6761396034b6c8132278330593ca698c5.zip | |
add inflight upload data wait timeout
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 4b6b6c642..405d432f0 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -131,6 +131,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") |
