mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
poll for Google Drive changes when mounted
This commit is contained in:
committed by
Nick Craig-Wood
parent
5455d34f8c
commit
a2e3af0523
@@ -48,6 +48,9 @@ func NewFS(f fs.Fs) *FS {
|
||||
if readOnly {
|
||||
fsys.FS.ReadOnly()
|
||||
}
|
||||
if pollInterval > 0 {
|
||||
fsys.FS.PollChanges(pollInterval)
|
||||
}
|
||||
return fsys
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user