diff options
| author | hilimd <68371223+hilimd@users.noreply.github.com> | 2020-09-23 11:39:57 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-23 11:39:57 +0800 |
| commit | 85570f27a0baf1fb7327d047b5b826eda34e652f (patch) | |
| tree | abe712fd7b420c5e251f2f91e1386dbe37a762ab /weed/command/server.go | |
| parent | a99f63cb4d8d1bcbdeba3c735947ca9992914d5c (diff) | |
| parent | 3e52329cee39f3a83f58d3896514547093ff0cf8 (diff) | |
| download | seaweedfs-85570f27a0baf1fb7327d047b5b826eda34e652f.tar.xz seaweedfs-85570f27a0baf1fb7327d047b5b826eda34e652f.zip | |
Merge pull request #17 from chrislusf/master
sync
Diffstat (limited to 'weed/command/server.go')
| -rw-r--r-- | weed/command/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/server.go b/weed/command/server.go index 6f40263bb..aee62290a 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -99,7 +99,7 @@ func init() { serverOptions.v.fileSizeLimitMB = cmdServer.Flag.Int("volume.fileSizeLimitMB", 1024, "limit file size to avoid out of memory") serverOptions.v.publicUrl = cmdServer.Flag.String("volume.publicUrl", "", "publicly accessible address") serverOptions.v.preStopSeconds = cmdServer.Flag.Int("volume.preStopSeconds", 10, "number of seconds between stop send heartbeats and stop volume server") - serverOptions.v.pprof = &False + serverOptions.v.pprof = cmdServer.Flag.Bool("volume.pprof", false, "enable pprof http handlers. precludes --memprofile and --cpuprofile") 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, {bucket}.{domainName}") |
