You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the trail of options.exclude from the FileService's watch method doesn't seem to actually prevent a watcher from being created. It instead prevents a change event from being pushed into the event that is emitted from nsfw-filesystem-service (see pushFileChange method). This results in inotify resources still being consumed for no reason (correct me if I'm wrong).
In our downstream IDE, our users import large repositories (only for search/readonly purposes) in parallel with their working directories. These large repositories eat up file watcher resources even though they won't expect to see any changes. This can cause the UI to break and other files to not respond to changes (such as branch changes etc.). Experimenting with the exclude preference seems to have no affect.
Steps to Reproduce:
Using the script below to observe inotify consumers found here
Bug Description:
Following the trail of
options.exclude
from the FileService'swatch
method doesn't seem to actually prevent a watcher from being created. It instead prevents a change event from being pushed into the event that is emitted fromnsfw-filesystem-service
(seepushFileChange
method). This results in inotify resources still being consumed for no reason (correct me if I'm wrong).In our downstream IDE, our users import large repositories (only for search/readonly purposes) in parallel with their working directories. These large repositories eat up file watcher resources even though they won't expect to see any changes. This can cause the UI to break and other files to not respond to changes (such as branch changes etc.). Experimenting with the exclude preference seems to have no affect.
Steps to Reproduce:
Using the script below to observe inotify consumers found here
curl -s https://raw.githubusercontent.com/fatso83/dotfiles/master/utils/scripts/inotify-consumers | bash
Additional Information
The text was updated successfully, but these errors were encountered: