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

uploader.async_upload_reader painc #30

Open
bjcodereview3 opened this issue Mar 8, 2024 · 1 comment
Open

uploader.async_upload_reader painc #30

bjcodereview3 opened this issue Mar 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@bjcodereview3
Copy link

场景是读取一个文本文件, 然后按行去下载后上传到qiniu
当并发较多(400)时, 运行一段时间会出现 Segmentation fault, 减少并发数后(200)就不会出现这个问题

错误信息
thread 'async-std/runtime' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/common/exec.rs:49:21:
there is no reactor running, must be called from the context of a Tokio 1.x runtime

[dependencies]
tokio = {version = "1.36.0", features = ["full"] }
qiniu-upload-manager = { version = "0.2.4", features = ["async", "reqwest"] }

问题有点和这个类似 #8

@bachue bachue added the bug Something isn't working label Apr 2, 2024
@bachue
Copy link
Collaborator

bachue commented Apr 2, 2024

好的,下次大版本更新将会提供 tokio runtime 的版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants