diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-12-13 10:08:27 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-12-13 10:08:27 -0800 |
| commit | 3e0cd122d83a58d7a97452c09b8c2fa375c3ff09 (patch) | |
| tree | dca75709e42de65cd24b7f430b2e85b2ac33241e /weed/filesys/dir.go | |
| parent | 05c3b795dcc159f0e6397af972d93a497ac555ae (diff) | |
| download | seaweedfs-3e0cd122d83a58d7a97452c09b8c2fa375c3ff09.tar.xz seaweedfs-3e0cd122d83a58d7a97452c09b8c2fa375c3ff09.zip | |
mount: directory listing cache ttl set to 5 minutes
Diffstat (limited to 'weed/filesys/dir.go')
| -rw-r--r-- | weed/filesys/dir.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.go index f632fd997..8f1bc72a7 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 { |
