atom / watcher

Atom Filesystem Watcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ensure that we handle large directories well on Linux

smashwilson opened this issue · comments

See atom/atom#15966 for an example repo that's causing us issues with nsfw watchers presently.

Actually atom/atom#6437 is a better example of "large directories." If someone opens a file in ~ on Linux, their entire home directory will be watched, which will likely cause a CPU usage spike. I'll need to throttle the initial home directory scan and ensure that we don't have anything critical waiting on the watcher's start promise.