diff options
| author | Chris Lu <chris.lu@uber.com> | 2021-04-01 02:21:59 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@uber.com> | 2021-04-01 02:21:59 -0700 |
| commit | cc0df36a9e767b27e313885a79119e6b14c3cbad (patch) | |
| tree | 4c6b6f7be404ba189aff2c7e7e03179cc6163576 /weed/command/upload.go | |
| parent | cefe66f1592855b26544f7a84162a3803ed7cda2 (diff) | |
| download | seaweedfs-cc0df36a9e767b27e313885a79119e6b14c3cbad.tar.xz seaweedfs-cc0df36a9e767b27e313885a79119e6b14c3cbad.zip | |
smaller file chunks are faster
Diffstat (limited to 'weed/command/upload.go')
| -rw-r--r-- | weed/command/upload.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/upload.go b/weed/command/upload.go index 67fde2185..0f9361b40 100644 --- a/weed/command/upload.go +++ b/weed/command/upload.go @@ -43,7 +43,7 @@ func init() { upload.dataCenter = cmdUpload.Flag.String("dataCenter", "", "optional data center name") upload.diskType = cmdUpload.Flag.String("disk", "", "[hdd|ssd|<tag>] hard drive or solid state drive or any tag") upload.ttl = cmdUpload.Flag.String("ttl", "", "time to live, e.g.: 1m, 1h, 1d, 1M, 1y") - upload.maxMB = cmdUpload.Flag.Int("maxMB", 32, "split files larger than the limit") + upload.maxMB = cmdUpload.Flag.Int("maxMB", 4, "split files larger than the limit") upload.usePublicUrl = cmdUpload.Flag.Bool("usePublicUrl", false, "upload to public url from volume server") } |
