aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-01-05 15:17:03 -0800
committerChris Lu <chris.lu@gmail.com>2019-01-05 15:17:03 -0800
commit67404276386ce4e8665587b7d9908c4b48ff0704 (patch)
treea5724fd73823e7f760c5dbde62b329461a9597a4 /weed/command/mount.go
parentd9f9aca453018c8decc1ab4882f0a6dd62bc2288 (diff)
downloadseaweedfs-67404276386ce4e8665587b7d9908c4b48ff0704.tar.xz
seaweedfs-67404276386ce4e8665587b7d9908c4b48ff0704.zip
weed mount: reduce default chunk size
Diffstat (limited to 'weed/command/mount.go')
-rw-r--r--weed/command/mount.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go
index c83315215..e61f16783 100644
--- a/weed/command/mount.go
+++ b/weed/command/mount.go
@@ -35,7 +35,7 @@ func init() {
mountOptions.collection = cmdMount.Flag.String("collection", "", "collection to create the files")
mountOptions.replication = cmdMount.Flag.String("replication", "", "replication(e.g. 000, 001) to create to files. If empty, let filer decide.")
mountOptions.ttlSec = cmdMount.Flag.Int("ttl", 0, "file ttl in seconds")
- mountOptions.chunkSizeLimitMB = cmdMount.Flag.Int("chunkSizeLimitMB", 16, "local write buffer size, also chunk large files")
+ mountOptions.chunkSizeLimitMB = cmdMount.Flag.Int("chunkSizeLimitMB", 4, "local write buffer size, also chunk large files")
mountOptions.dataCenter = cmdMount.Flag.String("dataCenter", "", "prefer to write to the data center")
mountCpuProfile = cmdMount.Flag.String("cpuprofile", "", "cpu profile output file")
mountMemProfile = cmdMount.Flag.String("memprofile", "", "memory profile output file")