-
Notifications
You must be signed in to change notification settings - Fork 303
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
Document how to have a separate idle and read timeout #87
Comments
If enough people need this, I can add a method to the conn |
@nhooyr thanks for all the work on this library. Add me as a vote for this option Specifically it currently looks like I'd have to unwrap the logic encapsulated in |
Thanks :)
Yes, unfortunately you would need to unwrap the logic in wsjson. For now, I would recommend going that route as no one else has requested this option. Is there a reason you can't just bound the entire wsjson read to something like a few minutes? As long as you have a read limit, things should be fine. |
No problem. It was with the aim to have checks over the two different steps. A general longer term read wait timeout and a specific timeout once we actually have something to read. |
Looks like this was lost somehow, will need to investigate why it isn't in master anymore. |
That code should be good in an example under Reader.
Related #86
The text was updated successfully, but these errors were encountered: