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

使用loadMicroApp手动调用子应用后访问indexDB存在性能问题 #1432

Closed
wudith opened this issue Apr 29, 2021 · 2 comments
Closed

Comments

@wudith
Copy link

wudith commented Apr 29, 2021

使用loadMicroApp手动调用angular子应用后,子应用根据业务需要多次访问indexDB读取数据库数据,浏览器会卡死在调用open数据库的方法,浏览器内存耗尽。

子应用独立运行时一切正常。

卡死代码位置:angula2-indexddb.ts

openDatabase(){
....
let request = this.utils.indexedDB.open(this,dbWrapper.dbName,version)
}

@github-actions
Copy link

Hello @wudith. In order to facilitate location and troubleshooting, we need you to provide a realistic example. Please forking these link codesandbox or clone qiankun examples to your GitHub repository.

你好 @wudith, 为了方便定位和排查问题,我们需要你提供一个重现实例,请提供一个尽可能精简的链接 codesandbox 或直接 clone qiankun examples,并上传到你的 GitHub 仓库。

@github-actions
Copy link

Since the issue was labeled with Need Reproduction, but no response in 30 days. This issue will be close. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要可复现步骤,却 30 天未收到回应。现关闭 issue,若有任何问题,可评论回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants