aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authormsementsov <47177265+m-sementsov@users.noreply.github.com>2025-12-05 23:24:38 +0300
committerGitHub <noreply@github.com>2025-12-05 12:24:38 -0800
commitc0dad091f149d80c6737f006c7ab98f4cd69478b (patch)
tree81001c4dc20746261701723b63c7669029a884c3 /weed/command/server.go
parent4cc6a2a4e58ac03ae79816b636bc8bbf5797b707 (diff)
downloadseaweedfs-c0dad091f149d80c6737f006c7ab98f4cd69478b.tar.xz
seaweedfs-c0dad091f149d80c6737f006c7ab98f4cd69478b.zip
Separate vacuum speed from replication speed (#7632)
Diffstat (limited to 'weed/command/server.go')
-rw-r--r--weed/command/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index 5683f1fc5..75997c75a 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -139,6 +139,7 @@ func init() {
serverOptions.v.fixJpgOrientation = cmdServer.Flag.Bool("volume.images.fix.orientation", false, "Adjust jpg orientation when uploading.")
serverOptions.v.readMode = cmdServer.Flag.String("volume.readMode", "proxy", "[local|proxy|redirect] how to deal with non-local volume: 'not found|read in remote node|redirect volume location'.")
serverOptions.v.compactionMBPerSecond = cmdServer.Flag.Int("volume.compactionMBps", 0, "limit compaction speed in mega bytes per second")
+ serverOptions.v.maintenanceMBPerSecond = cmdServer.Flag.Int("volume.maintenanceMBps", 0, "limit maintenance (replication / balance) IO rate in MB/s. Unset is 0, no limitation.")
serverOptions.v.fileSizeLimitMB = cmdServer.Flag.Int("volume.fileSizeLimitMB", 256, "limit file size to avoid out of memory")
serverOptions.v.ldbTimeout = cmdServer.Flag.Int64("volume.index.leveldbTimeout", 0, "alive time for leveldb (default to 0). If leveldb of volume is not accessed in ldbTimeout hours, it will be off loaded to reduce opened files and memory consumption.")
serverOptions.v.concurrentUploadLimitMB = cmdServer.Flag.Int("volume.concurrentUploadLimitMB", 64, "limit total concurrent upload size")