Support for cacheMetaTtlSec option in fuse command (#8063)

This commit is contained in:
KyoungYun-K
2026-01-20 15:52:47 +09:00
committed by GitHub
parent bc8a077561
commit 59dfe047b6

View File

@@ -150,6 +150,13 @@ func runFuse(cmd *Command, args []string) bool {
} else { } else {
panic(fmt.Errorf("chunkSizeLimitMB: %s", err)) panic(fmt.Errorf("chunkSizeLimitMB: %s", err))
} }
case "cacheMetaTtlSec":
if parsed, err := strconv.ParseInt(parameter.value, 0, 32); err == nil {
intValue := int(parsed)
mountOptions.cacheMetaTtlSec = &intValue
} else {
panic(fmt.Errorf("cacheMetaTtlSec: %s", err))
}
case "concurrentWriters": case "concurrentWriters":
i++ i++
if parsed, err := strconv.ParseInt(parameter.value, 0, 32); err == nil { if parsed, err := strconv.ParseInt(parameter.value, 0, 32); err == nil {