diff options
Diffstat (limited to 'weed/command/mount_std.go')
| -rw-r--r-- | weed/command/mount_std.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 92dcc9008..f682eebfa 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -5,13 +5,14 @@ package command import ( "fmt" "runtime" + "strings" + "time" "bazil.org/fuse" "bazil.org/fuse/fs" "github.com/chrislusf/seaweedfs/weed/filesys" "github.com/chrislusf/seaweedfs/weed/glog" "github.com/chrislusf/seaweedfs/weed/util" - "strings" ) func runMount(cmd *Command, args []string) bool { @@ -72,6 +73,7 @@ func runMount(cmd *Command, args []string) bool { ChunkSizeLimit: int64(*mountOptions.chunkSizeLimitMB) * 1024 * 1024, DataCenter: *mountOptions.dataCenter, DirListingLimit: *mountOptions.dirListingLimit, + EntryCacheTtl: 3 * time.Second, })) if err != nil { fuse.Unmount(*mountOptions.dir) |
