Skip to content
Snippets Groups Projects
Commit da614c25 authored by Pierre Krieger's avatar Pierre Krieger Committed by Bastian Köcher
Browse files

Call enable_all() when building tokio runtime (#4690)

parent 1f18964f
No related merge requests found
......@@ -108,6 +108,7 @@ pub fn run<I, T, E>(args: I, exit: E, version: sc_cli::VersionInfo) -> error::Re
let runtime = RuntimeBuilder::new()
.thread_name("main-tokio-")
.threaded_scheduler()
.enable_all()
.build()
.map_err(|e| format!("{:?}", e))?;
match config.roles {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment