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

Switch To Using Notify #2

Open
billyb2 opened this issue Sep 27, 2023 · 0 comments
Open

Switch To Using Notify #2

billyb2 opened this issue Sep 27, 2023 · 0 comments

Comments

@billyb2
Copy link
Owner

billyb2 commented Sep 27, 2023

Every 3 seconds or so, we iterate through all files to make sure they have a running task. This spikes CPU usage to 25%, which might be too high for lower-end devices.

By switching to using the notify library, we'll be able to use the native API for Linux and MacOS for watching for file changes

@billyb2 billyb2 changed the title Reduce CPU Usage When Iterating Through All Files Switch To Using Notify Sep 27, 2023
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

No branches or pull requests

1 participant