KyoungYun-K
21 hours ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
7 additions and
0 deletions
-
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 { |
|
|
|
|