diff options
Diffstat (limited to 'weed/filesys/wfs.go')
| -rw-r--r-- | weed/filesys/wfs.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index fc5a9cf93..8103fd570 100644 --- a/weed/filesys/wfs.go +++ b/weed/filesys/wfs.go @@ -1,14 +1,16 @@ package filesys import ( + "fmt" + "sync" + "time" + "bazil.org/fuse" "bazil.org/fuse/fs" - "fmt" "github.com/chrislusf/seaweedfs/weed/glog" "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/chrislusf/seaweedfs/weed/util" "github.com/karlseguin/ccache" - "sync" ) type Option struct { @@ -20,6 +22,7 @@ type Option struct { ChunkSizeLimit int64 DataCenter string DirListingLimit int + EntryCacheTtl time.Duration } type WFS struct { |
