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

Support for kFSEventStreamCreateFlagNoDefer/low latency use cases #373

Open
kwasimensah opened this issue Feb 16, 2022 · 0 comments
Open

Comments

@kwasimensah
Copy link

Hi, I'm doing some profiling of my app and noticed it takes about 100ms for chokidar/fsevents to see that a directory is deleted.

I then dug through the code and saw the parameters passed to FSEventStreamCreate at https://github.com/fsevents/fsevents/blob/master/src/fsevents.c#L212 and saw the latency value of 0.1 and that kFSEventStreamCreateFlagNoDefer wasn't specified.

Can we make these configurable? FsEvents doesn't seem to currently take any configuration so I wasn't sure how you'd want to pipe these values through (especially since the goal is that this should come through chokidar).

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