diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-08-13 09:07:22 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-08-13 09:07:22 -0700 |
| commit | 0983060a9080e69dc7edf58f172ab170755c3511 (patch) | |
| tree | 432afa7aca17dcb6a958c65cf2eea278bf78d094 /weed/command/volume.go | |
| parent | 090612492cba03243ed86b8d47ad705f26d9451d (diff) | |
| download | seaweedfs-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/volume.go')
| -rw-r--r-- | weed/command/volume.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go index 4f04a467d..6fb7447e7 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -76,7 +76,7 @@ func init() { v.cpuProfile = cmdVolume.Flag.String("cpuprofile", "", "cpu profile output file") v.memProfile = cmdVolume.Flag.String("memprofile", "", "memory profile output file") v.compactionMBPerSecond = cmdVolume.Flag.Int("compactionMBps", 0, "limit background compaction or copying speed in mega bytes per second") - v.fileSizeLimitMB = cmdVolume.Flag.Int("fileSizeLimitMB", 256, "limit file size to avoid out of memory") + v.fileSizeLimitMB = cmdVolume.Flag.Int("fileSizeLimitMB", 1024, "limit file size to avoid out of memory") v.pprof = cmdVolume.Flag.Bool("pprof", false, "enable pprof http handlers. precludes --memprofile and --cpuprofile") } |
