mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-06-17 17:01:05 +00:00
Update crates/node-interaction/src/blocking_executor.rs
Co-authored-by: xermicus <cyrill@parity.io>
This commit is contained in:
@@ -56,8 +56,6 @@ impl BlockingExecutor {
|
|||||||
|
|
||||||
let (tx, mut rx) = tokio::sync::mpsc::unbounded_channel::<TaskMessage>();
|
let (tx, mut rx) = tokio::sync::mpsc::unbounded_channel::<TaskMessage>();
|
||||||
|
|
||||||
// We spawn a new thread which will house the async runtime and will always be listening
|
|
||||||
// for new tasks coming in and executing them as they come in.
|
|
||||||
thread::spawn(move || {
|
thread::spawn(move || {
|
||||||
let runtime = Builder::new_current_thread()
|
let runtime = Builder::new_current_thread()
|
||||||
.enable_all()
|
.enable_all()
|
||||||
|
|||||||
Reference in New Issue
Block a user