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

Increased buffer on watcher to decrease missed events. #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Increased buffer on watcher to decrease missed events. #5

wants to merge 1 commit into from

Conversation

adleatherwood
Copy link

I've increased the internal buffer of the watcher in order to decrease the number of missed events. The default is 8k and saving two files simultaneously was only show one change from the watcher. It's unclear to me why 8k isn't enough of a buffer, but increasing it fixes the problem. There is documentation on msdn about buffer overruns and lost events. As well, to set a value that is an increment of 4k and a warning not to exceed 65k. Which is why I shot for 4k under. Anyway, this project perfect for what I needed it for. Thanks!

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

Successfully merging this pull request may close these issues.

None yet

1 participant