aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2024-07-28 01:40:22 +0500
committerGitHub <noreply@github.com>2024-07-27 13:40:22 -0700
commite1f93366889a354b8500d3597075d87721348102 (patch)
tree33c68dba6e2ace627283e0b17fb5a9465749166c /weed/command/filer.go
parent4b1f539ab86d4b634e0c3f08c5eb322c13bab5b3 (diff)
downloadseaweedfs-e1f93366889a354b8500d3597075d87721348102.tar.xz
seaweedfs-e1f93366889a354b8500d3597075d87721348102.zip
[filer] fix panic filer on webdav.maxMB (#5822)
fix panic filer on webdav.maxMB
Diffstat (limited to 'weed/command/filer.go')
-rw-r--r--weed/command/filer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index dcb7be36b..77e312646 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -130,6 +130,7 @@ func init() {
filerWebDavOptions.tlsCertificate = cmdFiler.Flag.String("webdav.cert.file", "", "path to the TLS certificate file")
filerWebDavOptions.cacheDir = cmdFiler.Flag.String("webdav.cacheDir", os.TempDir(), "local cache directory for file chunks")
filerWebDavOptions.cacheSizeMB = cmdFiler.Flag.Int64("webdav.cacheCapacityMB", 0, "local cache capacity in MB")
+ filerWebDavOptions.maxMB = cmdFiler.Flag.Int("webdav.maxMB", 4, "split files larger than the limit")
filerWebDavOptions.filerRootPath = cmdFiler.Flag.String("webdav.filer.path", "/", "use this remote path from filer server")
// start iam on filer