Skip to content
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

MailerWatcher can skip filesystem notifications #24

Open
jamadden opened this issue Aug 12, 2021 · 0 comments
Open

MailerWatcher can skip filesystem notifications #24

jamadden opened this issue Aug 12, 2021 · 0 comments

Comments

@jamadden
Copy link
Member

Because it tries to compare modification times of the directories, seeing if the "after" modification time has changed from the "before" time. But the resolution of those modification times is system dependent; it's common for the resolution to be 1 second or worse. So it's possible for two distinct stat() calls to return the same modification time, even if the kernel has reported the directory to have changed and new files have been written. In that case, we miss the notification.

jamadden added a commit that referenced this issue Aug 12, 2021
jamadden added a commit that referenced this issue Sep 7, 2021
jamadden added a commit that referenced this issue Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant