Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Single inotify instance with multiple watchers #110

Open
joelreymont opened this issue Jun 23, 2015 · 3 comments
Open

Single inotify instance with multiple watchers #110

joelreymont opened this issue Jun 23, 2015 · 3 comments

Comments

@joelreymont
Copy link

An fd-per-watch quickly consumes more file descriptors than are allowed. Would you accept a patch that uses a single inotify instance and multiple watchers? This appears to be the approach recommended by the Linux kernel docs.

@howeyc
Copy link
Owner

howeyc commented Jun 23, 2015

Sure.

But I must admit the development here is not exactly active, have you looked at http://github.com/go-fsnotify/fsnotify repo?

If you want to do it, I have no problem merging it.

@joelreymont
Copy link
Author

Chris,

I need this for another project.

I'll try to take care of it this week.

@joelreymont
Copy link
Author

I think this issue is invalid. One watcher is created and multiple watchers are added to it so everything looks kosher!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants