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

shorten timeout for sony9pin #11

Open
dericed opened this issue Jan 20, 2022 · 2 comments
Open

shorten timeout for sony9pin #11

dericed opened this issue Jan 20, 2022 · 2 comments
Assignees

Comments

@dericed
Copy link
Contributor

dericed commented Jan 20, 2022

Currently, if the cable is plugged into the computer, but unattached at the deck side, the command will wait for a full minute. For instance, $ sony9pin 8 1 takes a minute before ending with an error. I suggest reducing the timeout. When the deck is attached, the slowest response to this command was 0.113 seconds.

@JeromeMartinez
Copy link
Collaborator

In some other places in the code we have a timeout of 1s, let's be coherent and use 1s everywhere.

@dericed
Copy link
Contributor Author

dericed commented Jul 20, 2022

Hmmm, on most recent build the time out is a little less than a full minute now:

$ time sony9pin 8 p
Error: get device status failed.

real	0m49.267s
user	0m0.312s
sys	0m0.744s

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

2 participants