Skip to content

perf(fsevent): skip stream rebuilds for covered watches - #1005

Merged
JohnTitor merged 1 commit into
notify-rs:mainfrom
JohnTitor:perf-reuse-stream
Sep 19, 2026
Merged

JohnTitor merged 1 commit into
notify-rs:mainfrom
JohnTitor:perf-reuse-stream

Conversation

@JohnTitor

Copy link
Copy Markdown
Member

Description

Address partially #988

A watch now doesn't restart a stream if it's covered by a parent. However this doesn't resolve the issue completely; an independent path will continue restarting a stream as fsevent doesn't provide such an API.
Also tweak the docs to advise to use update_paths if possible to avoid the issue.

Related Issues

@JohnTitor
JohnTitor merged commit e6dfa43 into notify-rs:main Sep 19, 2026
21 checks passed
@JohnTitor
JohnTitor deleted the perf-reuse-stream branch September 19, 2026 03:43
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