-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dont block tokio reactor waiting on user input
When we moved the CLI input reading into a `tokio::select`, we ended up blocking the tokio reactor by reading from stdin in a standard tokio future. Instead, we need to let tokio know that we're running a largely-blocking task.
- Loading branch information
1 parent
4ebb52c
commit dae900d
Showing
2 changed files
with
32 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters