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

This commit is contained in:
Pierre Krieger
2020-01-20 19:52:02 +01:00
committed by Bastian Köcher
parent 1f18964f01
commit da614c257c
+1
View File
@@ -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 {