Polling and change notify

I'm working on a backend for quotaless.cloud.
While looking at the Rclone code, I noticed that Rclone doesn't update the list of objects right away after it gets a list of changes. Instead, it just invalidates the entire cache of the directory whose files have been modified.

Am I right? Is that what "ChangeNotify" does? @ncw

I think it would be best to just update the metadata of files that have been changed, added, or deleted instead of contacting the remote to re-list the directory.

I'm wondering how I could make something like this: update object metadata and remove entries from the VFS.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.