diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-03-28 14:07:16 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-03-28 14:07:16 -0700 |
| commit | a75d50bbb81998731cc36b8299cbb3254421f27a (patch) | |
| tree | 9b3e734157e19cba67696490a983a6e2ed218383 /weed/command/mount_std.go | |
| parent | 826bc0b7e3b5eb0717c179987a32e3290e773527 (diff) | |
| download | seaweedfs-a75d50bbb81998731cc36b8299cbb3254421f27a.tar.xz seaweedfs-a75d50bbb81998731cc36b8299cbb3254421f27a.zip | |
FUSE: add configurable in memory chunk cache size
Diffstat (limited to 'weed/command/mount_std.go')
| -rw-r--r-- | weed/command/mount_std.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 22ddd1f07..dbef84d21 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -168,6 +168,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { Replication: *option.replication, TtlSec: int32(*option.ttlSec), ChunkSizeLimit: int64(chunkSizeLimitMB) * 1024 * 1024, + ChunkCacheCountLimit: *option.chunkCacheCountLimit, DataCenter: *option.dataCenter, DirListCacheLimit: *option.dirListCacheLimit, EntryCacheTtl: 3 * time.Second, |
