From 84e036ce3752ecf57904b0f5aff1f33d43e95a32 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 18 Nov 2023 21:20:34 -0600 Subject: clippy --- azalea/examples/testbot.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea/examples') diff --git a/azalea/examples/testbot.rs b/azalea/examples/testbot.rs index 2dd5b306..b2f09dfe 100644 --- a/azalea/examples/testbot.rs +++ b/azalea/examples/testbot.rs @@ -47,7 +47,7 @@ async fn main() -> anyhow::Result<()> { let mut accounts = Vec::new(); - for i in 0..100 { + for i in 0..1 { accounts.push(Account::offline(&format!("bot{i}"))); } @@ -56,7 +56,7 @@ async fn main() -> anyhow::Result<()> { .add_accounts(accounts.clone()) .set_handler(handle) .set_swarm_handler(swarm_handle) - // .join_delay(Duration::from_millis(1000)) + .join_delay(Duration::from_millis(100)) .start("localhost") .await; // let e = azalea::ClientBuilder::new() -- cgit v1.2.3