aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.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/server.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/server.go')
-rw-r--r--weed/command/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index 3a58c4305..bab77de15 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -147,7 +147,7 @@ func init() {
webdavOptions.tlsPrivateKey = cmdServer.Flag.String("webdav.key.file", "", "path to the TLS private key file")
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", 1000, "local cache capacity in MB")
+ webdavOptions.cacheSizeMB = cmdServer.Flag.Int64("webdav.cacheCapacityMB", 0, "local cache capacity in MB")
msgBrokerOptions.port = cmdServer.Flag.Int("msgBroker.port", 17777, "broker gRPC listen port")