New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filesystem watching? #770
Comments
duplicate of #9 which is closed because it's possible via external scripts that call |
Right. A few remarks on that:
|
So the reason why this is not included is probably because syncthing runs on three different platforms, and the build process for all platforms is just two nested loops. I agree |
https://github.com/Zillode/syncthing-inotify ought to be of interest |
@joepie91 Come to https://github.com/Zillode/syncthing-inotify/ - patches accepted :) Edit: too slow! |
Currently, syncthing appears to use periodic polling to become aware of filesystem changes. This is not particularly efficient, and involves a significant trade-off between response time and overhead.
Perhaps you could include support for
fanotify
orinotify
on systems where this functionality is available? I believe thatfanotify
supports recursive watches, which should keep the overhead to a minimum.The text was updated successfully, but these errors were encountered: