Skip to content

Increased buffer on watcher to decrease missed events.#5

Open
adleatherwood wants to merge 1 commit intojfromaniello:masterfrom
adleatherwood:master
Open

Increased buffer on watcher to decrease missed events.#5
adleatherwood wants to merge 1 commit intojfromaniello:masterfrom
adleatherwood:master

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.

1 participant

Comments