diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index f0c59b331..9df43e40a 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -191,7 +191,6 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { CacheDir: *option.cacheDir, CacheSizeMB: *option.cacheSizeMB, DataCenter: *option.dataCenter, - EntryCacheTtl: 3 * time.Second, MountUid: uid, MountGid: gid, MountMode: mountMode, diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index 4b73aaa05..7bacfb114 100644 --- a/weed/filesys/wfs.go +++ b/weed/filesys/wfs.go @@ -41,7 +41,6 @@ type Option struct { CacheDir string CacheSizeMB int64 DataCenter string - EntryCacheTtl time.Duration Umask os.FileMode ReadOnly bool