You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dramatically decrease Scanning time on windows by using "NTFS USN Journal" #8507
enhancementNew features or improvements of some kind, as opposed to a problem (bug)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionneeds-triageNew issues needed to be validated
Syncthing is now taking a vast amount of time to Scan files in a windows machine (depending on the data and machine power).
Using something like Everything SDK could dramatically reduce this time in the initial scan or when monitoring file system changes.
enhancementNew features or improvements of some kind, as opposed to a problem (bug)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionneeds-triageNew issues needed to be validated
Activity
AudriusButkevicius commentedon Aug 22, 2022
We use inotify to detect filesystem changes and only scan what has changed.
yehia2amer commentedon Nov 30, 2022
This issue is about windows, inotify is linux only API !
rasa commentedon Nov 30, 2022
@yehia2amer I think @AudriusButkevicius is using inotify in the generic sense. Syncthing uses the https://github.com/syncthing/notify library, which has a Windows implementation in https://github.com/syncthing/notify/blob/main/watcher_readdcw.go
yehia2amer commentedon Dec 18, 2022
Thanks a lot @rasa for your detailed reply. I think this covers the second aspect in my question regarding monitoring the file changes.
What about the first aspect which is dramatically reducing the time in scanning?