diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-04-11 21:22:52 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-04-11 21:22:52 -0700 |
| commit | 5987810e5eb56611389451029fb85ff1fd700996 (patch) | |
| tree | 4842992cd4f9f67ea90bcfe68788ab87d6e277aa /weed/command/mount.go | |
| parent | df97da25f902912dd527d4aed567408c3ca0f9ae (diff) | |
| download | seaweedfs-5987810e5eb56611389451029fb85ff1fd700996.tar.xz seaweedfs-5987810e5eb56611389451029fb85ff1fd700996.zip | |
set default chunk size to 16
Diffstat (limited to 'weed/command/mount.go')
| -rw-r--r-- | weed/command/mount.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go index 6165402b4..661ddfe06 100644 --- a/weed/command/mount.go +++ b/weed/command/mount.go @@ -37,7 +37,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", 4, "local write buffer size, also chunk large files") + mountOptions.chunkSizeLimitMB = cmdMount.Flag.Int("chunkSizeLimitMB", 16, "local write buffer size, also chunk large files") mountOptions.cacheDir = cmdMount.Flag.String("cacheDir", os.TempDir(), "local cache directory for file chunks") mountOptions.cacheSizeMB = cmdMount.Flag.Int64("cacheCapacityMB", 1000, "local cache capacity in MB") mountOptions.dataCenter = cmdMount.Flag.String("dataCenter", "", "prefer to write to the data center") |
