错误信息
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"] }
场景是读取一个文本文件, 然后按行去下载后上传到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"] }
问题有点和这个类似 https://github.com/qiniu/rust-sdk/issues/8