tokio: use single thread

This commit is contained in:
2024-08-07 16:45:24 +02:00
parent dadfa786ef
commit cb83942cc8
3 changed files with 2 additions and 13 deletions

View File

@@ -44,7 +44,7 @@ enum Command {
User(cli::user_command::UserCommand),
}
#[tokio::main]
#[tokio::main(flavor = "current_thread")]
async fn main() -> anyhow::Result<()> {
env_logger::init();