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.

mount: directory listing cache ttl set to 5 minutes

Chris Lu3e0cd122d83a
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.go
index f632fd9975..8f1bc72a76 100644
--- a/weed/filesys/dir.go
+++ b/weed/filesys/dir.go
@@ -227,7 +227,7 @@ func (dir *Dir) ReadDirAll(ctx context.Context) (ret []fuse.Dirent, err error) {
glog.V(3).Infof("dir ReadDirAll %s", dir.Path)
- cacheTtl := 10 * time.Minute
+ cacheTtl := 5 * time.Minute
readErr := filer2.ReadDirAllEntries(ctx, dir.wfs, dir.Path, "", func(entry *filer_pb.Entry, isLast bool) {
if entry.IsDirectory {