We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前存在问题:目前Meta2d.js连接websocket暂无连接错误捕获机制,如果用户在图纸传递了异常的ws地址,会导致ws一直重新连接,并且会输出console.info日志。频繁的console有可能会导致内存泄露。
建议增加连接异常捕获机制,向外抛出l连接异常消息;或者内置重连次数,由用户控制在重新连接N次后关闭连接。
如上处理可以提升用户体验,且减少由于频繁输出日志导致内存泄露。
The text was updated successfully, but these errors were encountered:
将在@meta2d/core 1.0.54 版本新增 option->reconnetTimes 配置
Sorry, something went wrong.
No branches or pull requests
建议
目前存在问题:目前Meta2d.js连接websocket暂无连接错误捕获机制,如果用户在图纸传递了异常的ws地址,会导致ws一直重新连接,并且会输出console.info日志。频繁的console有可能会导致内存泄露。
建议增加连接异常捕获机制,向外抛出l连接异常消息;或者内置重连次数,由用户控制在重新连接N次后关闭连接。
建议原因
如上处理可以提升用户体验,且减少由于频繁输出日志导致内存泄露。
The text was updated successfully, but these errors were encountered: