aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-08-13 09:07:22 -0700
committerChris Lu <chris.lu@gmail.com>2020-08-13 09:07:22 -0700
commit0983060a9080e69dc7edf58f172ab170755c3511 (patch)
tree432afa7aca17dcb6a958c65cf2eea278bf78d094 /weed/command/server.go
parent090612492cba03243ed86b8d47ad705f26d9451d (diff)
downloadseaweedfs-0983060a9080e69dc7edf58f172ab170755c3511.tar.xz
seaweedfs-0983060a9080e69dc7edf58f172ab170755c3511.zip
increase default volume file size limit to 1024
avoid possible large chunk size set on mount or filer
Diffstat (limited to 'weed/command/server.go')
-rw-r--r--weed/command/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index 565563c77..d16095075 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -96,7 +96,7 @@ func init() {
serverOptions.v.fixJpgOrientation = cmdServer.Flag.Bool("volume.images.fix.orientation", false, "Adjust jpg orientation when uploading.")
serverOptions.v.readRedirect = cmdServer.Flag.Bool("volume.read.redirect", true, "Redirect moved or non-local volumes.")
serverOptions.v.compactionMBPerSecond = cmdServer.Flag.Int("volume.compactionMBps", 0, "limit compaction speed in mega bytes per second")
- serverOptions.v.fileSizeLimitMB = cmdServer.Flag.Int("volume.fileSizeLimitMB", 256, "limit file size to avoid out of memory")
+ 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.pprof = &False