Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

remove unused variable

Chris Luc83ab91e2e92
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index f0c59b331f..9df43e40a3 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 4b73aaa052..7bacfb1149 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