Skip to content

Commit

Permalink
improvement: use single thread reduce resouce usage
Browse files Browse the repository at this point in the history
  • Loading branch information
yinheli committed Jun 9, 2022
1 parent 8a62dad commit 3456e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Expand Up @@ -15,7 +15,7 @@ use tokio::time::{self, Duration};
mod args;
mod ipmi;

#[tokio::main]
#[tokio::main(flavor = "current_thread")]
async fn main() {
let args = args::Args::parse();

Expand Down

0 comments on commit 3456e6d

Please sign in to comment.