diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-03-07 14:45:36 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-03-07 14:45:36 -0800 |
| commit | 60686a0bb7fe138bfc16649d6df16c06fcbf65df (patch) | |
| tree | f01e2911488bacb4ac9891748637e81c3fb6d672 /weed/command/server.go | |
| parent | 3b2a9c98efebdf0ef07666f6ad9a0b2169e342da (diff) | |
| download | seaweedfs-60686a0bb7fe138bfc16649d6df16c06fcbf65df.tar.xz seaweedfs-60686a0bb7fe138bfc16649d6df16c06fcbf65df.zip | |
make tcp optional
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 64321b4d7..a39802412 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -111,6 +111,7 @@ func init() { serverOptions.v.preStopSeconds = cmdServer.Flag.Int("volume.preStopSeconds", 10, "number of seconds between stop send heartbeats and stop volume server") 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") s3Options.port = cmdServer.Flag.Int("s3.port", 8333, "s3 server http listen port") s3Options.domainName = cmdServer.Flag.String("s3.domainName", "", "suffix of the host name in comma separated list, {bucket}.{domainName}") |
