refactor: resolve CLI redundancy and overlapping transport state bounds
This commit is contained in:
1 parent
04b9388074
commit
0723811686
2 files changed
+1
-101
No files matched your search
+1
-1
@@ -19,7 +19,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let cli = Cli::parse();
|
||||
let rt = tokio::runtime::Runtime::new()?;
|
||||
rt.block_on(async {
|
||||
let (msg_tx, mut msg_rx) = mpsc::channel::<String>(100);
|
||||
let (msg_tx, msg_rx) = mpsc::channel::<String>(100);
|
||||
let (shutdown_tx, mut shutdown_rx) = mpsc::channel::<()>(1);
|
||||
|
||||
tokio::spawn(async move {
|
||||
|
||||
Reference in new issue
Block a user