You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 0.22, the second unwrap panics with thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', /home/…/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.21.2/src/net/addr.rs:219:48:
[dependencies]
redis = {version = "0.22", features = ["async-std-comp"]}
async-std = { version = "1", features = [ "attributes" ] }
The panic vanishes if I change "version" to 0.21.
The text was updated successfully, but these errors were encountered:
I bisected this, it seems the originating commit is from #606. So in this PR it seems I forgot that we couldn't depend on Tokio directly, and we need to implement DNS lookup with async-std in the case async-std-comp is enabled.
I try to instantiate a multiplexed async connection like the following:
In version 0.22, the second unwrap panics with
thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', /home/…/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.21.2/src/net/addr.rs:219:48
:The panic vanishes if I change "version" to
0.21
.The text was updated successfully, but these errors were encountered: