aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-10-30 21:22:20 -0700
committerChris Lu <chris.lu@gmail.com>2020-10-30 21:22:20 -0700
commit8826601be1a5fe563d955b57a51b15d917baa22b (patch)
treedef9ca688158ad773a3398b6c83d62157b7d9b8a /weed/command/mount_std.go
parentbe95f68ca744fb3caa5f7e48aff79bc2b233686e (diff)
downloadseaweedfs-8826601be1a5fe563d955b57a51b15d917baa22b.tar.xz
seaweedfs-8826601be1a5fe563d955b57a51b15d917baa22b.zip
mount: optional limit for the number of concurrent writers
Diffstat (limited to 'weed/command/mount_std.go')
-rw-r--r--weed/command/mount_std.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 20d08314c..649450e54 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -175,6 +175,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
Replication: *option.replication,
TtlSec: int32(*option.ttlSec),
ChunkSizeLimit: int64(chunkSizeLimitMB) * 1024 * 1024,
+ ConcurrentWriters: *option.concurrentWriters,
CacheDir: *option.cacheDir,
CacheSizeMB: *option.cacheSizeMB,
DataCenter: *option.dataCenter,