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

Login can raise a CAPIError if the API takes too long to respond. #9

Closed
onyx-and-iris opened this issue Oct 27, 2023 · 0 comments
Closed

Comments

@onyx-and-iris
Copy link
Owner

I've noticed that sometimes it's taking a bit longer than 1 second for the API to respond after a login (if it needs to start the audio engine first). This can cause {Remote}.login() to raise a CAPIError when in fact waiting a bit longer for a response succeeds.

Setting a timeout for login should fix this.

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