mirror of
https://github.com/rclone/rclone.git
synced 2025-04-19 18:31:10 +08:00
set the directory cache read time
This commit is contained in:
parent
4d38424e6c
commit
d6fdf8c4f1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user