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
Currently, you poll the specified paths every N milliseconds. Using the library above, you could completely give up on that option (sleep) because an event is being raised whenever anything is being changed under specified directory. Then, you can compare the path of changed file against paths collection and if it exists — fire cache warmup.
Our CPUs will scream „thanks” because checking all files every time will be irrelevant.
Do you mind introducing FS watching based on inotify? It'll decrease CPU usage significantly.
The text was updated successfully, but these errors were encountered: