diff options
| author | Yoni Nakache <45972051+LazyDBA247-Anyvision@users.noreply.github.com> | 2021-01-13 22:32:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-13 22:32:23 +0200 |
| commit | d1959de03894fb77753be622f18ec70e0a45eb43 (patch) | |
| tree | 31bc579b3c780dc6ce3e412b892da246fefa6d1a /weed/command/mount.go | |
| parent | 95982e0856dcde5cd7542532367c436503d39a7a (diff) | |
| parent | 3fb2ed90932f608b3fd8e9c29d32663b7402e8eb (diff) | |
| download | seaweedfs-d1959de03894fb77753be622f18ec70e0a45eb43.tar.xz seaweedfs-d1959de03894fb77753be622f18ec70e0a45eb43.zip | |
Merge branch 'master' into master
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 f325cb0a5..fa75919aa 100644 --- a/weed/command/mount.go +++ b/weed/command/mount.go @@ -43,7 +43,7 @@ func init() { 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", 2, "local write buffer size, also chunk large files") - mountOptions.concurrentWriters = cmdMount.Flag.Int("concurrentWriters", 0, "limit concurrent goroutine writers if not 0") + mountOptions.concurrentWriters = cmdMount.Flag.Int("concurrentWriters", 128, "limit concurrent goroutine writers if not 0") mountOptions.cacheDir = cmdMount.Flag.String("cacheDir", os.TempDir(), "local cache directory for file chunks and meta data") mountOptions.cacheSizeMB = cmdMount.Flag.Int64("cacheCapacityMB", 1000, "local file chunk cache capacity in MB (0 will disable cache)") mountOptions.dataCenter = cmdMount.Flag.String("dataCenter", "", "prefer to write to the data center") |
