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

Add throttling of AppleScript requests #31

Open
SphtKr opened this issue Apr 15, 2017 · 0 comments
Open

Add throttling of AppleScript requests #31

SphtKr opened this issue Apr 15, 2017 · 0 comments

Comments

@SphtKr
Copy link
Owner

SphtKr commented Apr 15, 2017

It is apparently possible for the system to get backed up with too many AppleScript requests to where they just keep piling on. Some work has already been done for this (not yet in master at the present moment), adding a queue and an option to change the polling interval. Nevertheless if the system is under other stress this may happen.

Implement a throttling mechanism where if the queue gets too deep it will temporarily reduce the polling interval until the queue empties.

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

No branches or pull requests

1 participant