Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Call enable_all() when building tokio runtime (#4690)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaka authored and bkchr committed Jan 20, 2020
1 parent 5cd952b commit cfbb24c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/node/cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit cfbb24c

Please sign in to comment.