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
Add polling fallback #326
base: main
Are you sure you want to change the base?
Add polling fallback #326
Conversation
Any news about this CL ? I need it for other go packages. |
Polling fallback can be used by operating systems without any internal mechanism to watch files. This is only use on AIX for now, but should work on every over OS (tested on Linux).
I need this as well. Do we have any update on this PR? |
@Helflym If the number of subdirectories in the monitored directory exceeds 100k, do you need to reconsider the implementation of the function and make directory traversal as efficient as possible. |
This implementation was made in order to enable fsnotify on AIX, but it's clearly not optimized. I haven't made any performance metrics but I guess it won't work very well with more than 100k directories. |
Polling fallback can be used by operating systems without any internal
mechanism to watch files. This is only use on AIX for now, but should
work on every over OS (tested on Linux).