Bump reva

This commit is contained in:
Ralf Haferkamp
2025-02-13 13:11:49 +01:00
parent d42034202d
commit 7a326c5fc7
5 changed files with 7 additions and 4 deletions
@@ -39,6 +39,7 @@ type Options struct {
// a revision when the file is changed.
EnableFSRevisions bool `mapstructure:"enable_fs_revisions"`
ScanFS bool `mapstructure:"scan_fs"`
WatchFS bool `mapstructure:"watch_fs"`
WatchType string `mapstructure:"watch_type"`
WatchPath string `mapstructure:"watch_path"`
@@ -144,6 +144,8 @@ func New(lu node.PathLookup, bs Blobstore, um usermapper.Mapper, trashbin *trash
if o.WatchFS {
go t.watcher.Watch(watchPath)
go t.workScanQueue()
}
if o.ScanFS {
go func() {
_ = t.WarmupIDCache(o.Root, true, false)
}()