aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-07-10 21:48:27 -0700
committerChris Lu <chris.lu@gmail.com>2019-07-10 21:48:27 -0700
commit61b7a650f4f968f354055157d9fd40f91fa10224 (patch)
treebef4ef70e9946e58151bf689557191f149f653c5
parent476a7c269c402e24e531572939dedd57bd36ecde (diff)
downloadseaweedfs-61b7a650f4f968f354055157d9fd40f91fa10224.tar.xz
seaweedfs-61b7a650f4f968f354055157d9fd40f91fa10224.zip
filer.copy default to 32MB chunks
-rw-r--r--weed/command/filer_copy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go
index 786e83f4b..19aceb211 100644
--- a/weed/command/filer_copy.go
+++ b/weed/command/filer_copy.go
@@ -48,7 +48,7 @@ func init() {
copy.replication = cmdCopy.Flag.String("replication", "", "replication type")
copy.collection = cmdCopy.Flag.String("collection", "", "optional collection name")
copy.ttl = cmdCopy.Flag.String("ttl", "", "time to live, e.g.: 1m, 1h, 1d, 1M, 1y")
- copy.maxMB = cmdCopy.Flag.Int("maxMB", 0, "split files larger than the limit")
+ copy.maxMB = cmdCopy.Flag.Int("maxMB", 32, "split files larger than the limit")
copy.concurrency = cmdCopy.Flag.Int("c", 8, "concurrent file copy goroutines")
copy.compressionLevel = cmdCopy.Flag.Int("compressionLevel", 9, "local file compression level 1 ~ 9")
}