aboutsummaryrefslogtreecommitdiff
path: root/weed/command/webdav.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-02-14 20:42:33 -0800
committerchrislu <chris.lu@gmail.com>2022-02-14 20:42:33 -0800
commit4e181db21a79777f229f5695e897a694b66d9937 (patch)
tree25acbb92c7d0ff4f87ab2099ac0cfa29c10d6c14 /weed/command/webdav.go
parentebc22625b4d485430b33f67819692da08e11c97c (diff)
downloadseaweedfs-4e181db21a79777f229f5695e897a694b66d9937.tar.xz
seaweedfs-4e181db21a79777f229f5695e897a694b66d9937.zip
mount: default disable cache
* Prevent cases as https://github.com/seaweedfs/seaweedfs-csi-driver/issues/43 * Improve read write benchmarks * Improve AI training performance. Most of the files are just read once.
Diffstat (limited to 'weed/command/webdav.go')
-rw-r--r--weed/command/webdav.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/webdav.go b/weed/command/webdav.go
index 319302175..689bf3c30 100644
--- a/weed/command/webdav.go
+++ b/weed/command/webdav.go
@@ -43,7 +43,7 @@ func init() {
webDavStandaloneOptions.tlsPrivateKey = cmdWebDav.Flag.String("key.file", "", "path to the TLS private key file")
webDavStandaloneOptions.tlsCertificate = cmdWebDav.Flag.String("cert.file", "", "path to the TLS certificate file")
webDavStandaloneOptions.cacheDir = cmdWebDav.Flag.String("cacheDir", os.TempDir(), "local cache directory for file chunks")
- webDavStandaloneOptions.cacheSizeMB = cmdWebDav.Flag.Int64("cacheCapacityMB", 1000, "local cache capacity in MB")
+ webDavStandaloneOptions.cacheSizeMB = cmdWebDav.Flag.Int64("cacheCapacityMB", 0, "local cache capacity in MB")
}
var cmdWebDav = &Command{