mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 12:05:42 +00:00
Upgrade tokio to 1.22.0 and replace async-std with tokio (#1917)
* Make tokio executor mandatory * kick CI * Update Cargo.lock
This commit is contained in:
Generated
+192
-207
File diff suppressed because it is too large
Load Diff
@@ -72,9 +72,9 @@ pub(crate) fn build_collator_network(
|
|||||||
role: config.role.clone(),
|
role: config.role.clone(),
|
||||||
executor: {
|
executor: {
|
||||||
let spawn_handle = Clone::clone(&spawn_handle);
|
let spawn_handle = Clone::clone(&spawn_handle);
|
||||||
Some(Box::new(move |fut| {
|
Box::new(move |fut| {
|
||||||
spawn_handle.spawn("libp2p-node", Some("networking"), fut);
|
spawn_handle.spawn("libp2p-node", Some("networking"), fut);
|
||||||
}))
|
})
|
||||||
},
|
},
|
||||||
fork_id: None,
|
fork_id: None,
|
||||||
chain_sync: Box::new(chain_sync),
|
chain_sync: Box::new(chain_sync),
|
||||||
|
|||||||
Reference in New Issue
Block a user