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

Changed tokio crossbeam example from kqueue to fsevent #597

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

Conversation

alanwsmith
Copy link

  • This pull request changes the example code for turning off crossbeam for tokio to use macos_fsevent instead of macos_kqueue

  • I'm suggesting this change based off the issue I'm seeing with too many open files with kqueue

  • My thinking is that this will help prevent folks running into the kqueue by using fsevent instead

@@ -36,10 +36,9 @@
//! You can disable crossbeam-channel, letting notify fallback to std channels via
//!
//! ```toml
//! notify = { version = "6.1.1", default-features = false, features = ["macos_kqueue"] }
//! // Alternatively macos_fsevent instead of macos_kqueue
Copy link
Member

Choose a reason for hiding this comment

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

please don't remove this, if you only watch a little amount of files, kqueue is totally valid

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