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

Adding retrial mechanism to websocket connection #45

Closed
robotLJW opened this issue Jul 15, 2021 · 0 comments · Fixed by #44
Closed

Adding retrial mechanism to websocket connection #45

robotLJW opened this issue Jul 15, 2021 · 0 comments · Fixed by #44

Comments

@robotLJW
Copy link
Contributor

robotLJW commented Jul 15, 2021

【问题】:当使用websocket来建立心跳时,开启协程进行conn.ReadMessage()时,可能会因为cpu使用过高导致断连,需要增加重试机制

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

Successfully merging a pull request may close this issue.

1 participant