Browse Source

Support for cacheMetaTtlSec option in fuse command (#8063)

pull/8006/merge
KyoungYun-K 21 hours ago
committed by GitHub
parent
commit
59dfe047b6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      weed/command/fuse_std.go

7
weed/command/fuse_std.go

@ -150,6 +150,13 @@ func runFuse(cmd *Command, args []string) bool {
} else {
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":
i++
if parsed, err := strconv.ParseInt(parameter.value, 0, 32); err == nil {

Loading…
Cancel
Save