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

数据传输 - 延迟 #46

Closed
Lijinqi opened this issue Mar 5, 2018 · 2 comments
Closed

数据传输 - 延迟 #46

Lijinqi opened this issue Mar 5, 2018 · 2 comments

Comments

@Lijinqi
Copy link

Lijinqi commented Mar 5, 2018

大佬 传输数据时 频率快,然后每次传输数据较大的时候会有延时...我server用的是demo...这个有什么建议吗?

@xuuhaoo
Copy link
Owner

xuuhaoo commented Mar 5, 2018

183459684加我说

@Lijinqi
Copy link
Author

Lijinqi commented Mar 5, 2018

已经解决了问题。1、数据延迟是因为初始化 OkSocket.initialize(this,true); 开启了debug导致耗时。 关闭效果很好 2、然后会有断线重连的问题。是因为
//在主进程初始化一次,多进程时需要区分主进程.
OkSocket.initialize(this);
多进程没有区分主进程。 还有我不得不说大佬很强 恩 很感谢大佬花时间帮我看bug!!!

@xuuhaoo xuuhaoo closed this as completed Mar 5, 2018
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