Skip to content

Commit

Permalink
Merge pull request #39 from weibocom/mc_4_thread
Browse files Browse the repository at this point in the history
Mc 4 thread
  • Loading branch information
Aimable-rich authored Dec 2, 2021
2 parents 3a8424b + b42219d commit 8b0f2d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ use std::sync::Arc;
use std::time::Duration;
use tokio::spawn;

//#[tokio::main(flavor = "multi_thread", worker_threads = 1)]
#[tokio::main(flavor = "current_thread")]
#[tokio::main(flavor = "multi_thread", worker_threads = 4)]
//#[tokio::main(flavor = "current_thread")]
async fn main() -> Result<()> {
let ctx = Context::from_os_args();
ctx.check()?;
Expand Down

0 comments on commit 8b0f2d9

Please sign in to comment.