From 4b59883d1548ce21236e6be22da8cb18ee7a3d33 Mon Sep 17 00:00:00 2001 From: chrislu Date: Mon, 14 Feb 2022 20:43:28 -0800 Subject: disable cache by default fix https://github.com/seaweedfs/seaweedfs-csi-driver/issues/43 --- cmd/seaweedfs-csi-driver/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/seaweedfs-csi-driver/main.go b/cmd/seaweedfs-csi-driver/main.go index 86433d1..f42ba59 100644 --- a/cmd/seaweedfs-csi-driver/main.go +++ b/cmd/seaweedfs-csi-driver/main.go @@ -16,7 +16,7 @@ var ( nodeID = flag.String("nodeid", "", "node id") version = flag.Bool("version", false, "Print the version and exit.") concurrentWriters = flag.Int("concurrentWriters", 32, "limit concurrent goroutine writers if not 0") - cacheSizeMB = flag.Int64("cacheCapacityMB", 1000, "local file chunk cache capacity in MB (0 will disable cache)") + cacheSizeMB = flag.Int64("cacheCapacityMB", 0, "local file chunk cache capacity in MB") cacheDir = flag.String("cacheDir", os.TempDir(), "local cache directory for file chunks and meta data") uidMap = flag.String("map.uid", "", "map local uid to uid on filer, comma-separated :") gidMap = flag.String("map.gid", "", "map local gid to gid on filer, comma-separated :") -- cgit v1.2.3