set the directory cache read time

This commit is contained in:
huanghaojun 2025-03-20 11:13:09 +08:00
parent 4d38424e6c
commit d6fdf8c4f1

View File

@ -579,7 +579,7 @@ func (d *Dir) _readDir() error {
return err
}
d.read = when
d.read = time.Now()
d.cleanupTimer.Reset(time.Duration(d.vfs.Opt.DirCacheTime * 2))
return nil