-
Notifications
You must be signed in to change notification settings - Fork 80
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 timeout on secure websocket receive
method
#137
Conversation
I can't currently add you as a reviewer @nshaaban-cPacket, but I've send you an invite to change this. If you've got time I would feel safer if you would review the PR, otherwise I would just trust mine and Aarons tests. |
Codecov Report
@@ Coverage Diff @@
## main #137 +/- ##
==========================================
- Coverage 87.87% 87.58% -0.30%
==========================================
Files 20 20
Lines 1633 1643 +10
==========================================
+ Hits 1435 1439 +4
- Misses 198 204 +6
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR closes #133 by adding a timeout on the Websocket's receive method. This way the lock on the client isn't held until the next message is received.