diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-04-16 10:34:02 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-04-16 10:34:02 -0700 |
| commit | c83ab91e2e9223db2270793658a69a19e3f7e0be (patch) | |
| tree | f4682e3ac7d0e3f8174687b866cf5966bef2d8e7 | |
| parent | 3074e9b42850635b28f1ef90fc51e712210d5d45 (diff) | |
| download | seaweedfs-c83ab91e2e9223db2270793658a69a19e3f7e0be.tar.xz seaweedfs-c83ab91e2e9223db2270793658a69a19e3f7e0be.zip | |
remove unused variable
| -rw-r--r-- | weed/command/mount_std.go | 1 | ||||
| -rw-r--r-- | weed/filesys/wfs.go | 1 |
2 files changed, 0 insertions, 2 deletions
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 |
