Skip to content

feat(notify): make FSEvents stream latency configurable#930

Merged
JohnTitor merged 2 commits into
notify-rs:mainfrom
bvinc:fsevent-configurable-latency
May 25, 2026
Merged

feat(notify): make FSEvents stream latency configurable#930
JohnTitor merged 2 commits into
notify-rs:mainfrom
bvinc:fsevent-configurable-latency

Conversation

@bvinc
Copy link
Copy Markdown
Contributor

@bvinc bvinc commented May 21, 2026

Adds Config::with_fsevent_latency to control the latency passed to FSEventStreamCreate. Defaults to Duration::ZERO, preserving current behavior. Set at construction time only.

Adds Config::with_fsevent_latency to control the latency passed to
FSEventStreamCreate. Defaults to Duration::ZERO, preserving current
behavior. Set at construction time only.
@bvinc
Copy link
Copy Markdown
Contributor Author

bvinc commented May 21, 2026

This seems to be important as it's basically the only knob you can turn to hopefully reduce missed events on mac fsevent. So this PR allows it to be configured.

Copy link
Copy Markdown
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@JohnTitor JohnTitor merged commit d1c69e6 into notify-rs:main May 25, 2026
17 of 18 checks passed
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.

2 participants