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

fix network break, heart beat check not work #139

Merged
merged 3 commits into from
Sep 25, 2019
Merged

fix network break, heart beat check not work #139

merged 3 commits into from
Sep 25, 2019

Conversation

binlaniua
Copy link
Contributor

No description provided.

@hufeng hufeng merged commit f1ca8a4 into apache:master Sep 25, 2019
@binlaniua
Copy link
Contributor Author

这里增强一下监测功能,当网络动荡的时候,心跳发送后,不会收到任何响应, onData, onError, onClose都不会触发,所以在心跳监测也加入一个计数器,20次内没有provider的响应, 那么就认为连接出现问题,触发onClose然后进入重连阶段

@hufeng
Copy link
Member

hufeng commented Oct 21, 2019 via email

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 this pull request may close these issues.

2 participants