aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-01-05 15:36:00 -0800
committerchrislu <chris.lu@gmail.com>2024-01-05 15:36:00 -0800
commitd9bd343055e4e2bab8329fa17b26b2ea72b0ab83 (patch)
treeef94f1328d1d8a428714c51b843ed0bb1372a628 /weed/command/server.go
parent1206313952d4dc1934d5a0ae82579f076d27d0dc (diff)
parent3b62b338a5532639fa34cd2a56101ea5507f6eb3 (diff)
downloadseaweedfs-d9bd343055e4e2bab8329fa17b26b2ea72b0ab83.tar.xz
seaweedfs-d9bd343055e4e2bab8329fa17b26b2ea72b0ab83.zip
Merge branch 'master' into mq-subscribe
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 9631f6bfd..b8ef25fad 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -164,6 +164,7 @@ func init() {
webdavOptions.tlsCertificate = cmdServer.Flag.String("webdav.cert.file", "", "path to the TLS certificate file")
webdavOptions.cacheDir = cmdServer.Flag.String("webdav.cacheDir", os.TempDir(), "local cache directory for file chunks")
webdavOptions.cacheSizeMB = cmdServer.Flag.Int64("webdav.cacheCapacityMB", 0, "local cache capacity in MB")
+ webdavOptions.maxMB = cmdServer.Flag.Int("webdav.maxMB", 4, "split files larger than the limit")
webdavOptions.filerRootPath = cmdServer.Flag.String("webdav.filer.path", "/", "use this remote path from filer server")
mqBrokerOptions.port = cmdServer.Flag.Int("mq.broker.port", 17777, "message queue broker gRPC listen port")