fuse: Only reload list of snapshots once per minute

This commit is contained in:
Alexander Neumann committed 2017-12-28 13:18:27 +01:00
1 parent 8d8456590c
commit 3f7d85360a
2 files changed
+12 -1

No files matched your search

+5 -1
View File
@@ -4,6 +4,8 @@
package fuse
import (
"time"
"github.com/restic/restic/internal/debug"
"github.com/restic/restic/internal/restic"
@@ -27,7 +29,9 @@ type Root struct {
inode uint64
snapshots restic.Snapshots
blobSizeCache *BlobSizeCache
snCount int
snCount int
lastCheck time.Time
*MetaDir
}