diff options
Diffstat (limited to 'azalea/examples/testbot.rs')
| -rw-r--r-- | azalea/examples/testbot.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/azalea/examples/testbot.rs b/azalea/examples/testbot.rs index af236dc4..053e29b3 100644 --- a/azalea/examples/testbot.rs +++ b/azalea/examples/testbot.rs @@ -19,13 +19,10 @@ struct SwarmState {} #[tokio::main] async fn main() -> anyhow::Result<()> { - env_logger::init(); - { use parking_lot::deadlock; use std::thread; use std::time::Duration; - // Create a background thread which checks for deadlocks every 10s thread::spawn(move || loop { thread::sleep(Duration::from_secs(10)); @@ -48,7 +45,7 @@ async fn main() -> anyhow::Result<()> { let mut accounts = Vec::new(); let mut states = Vec::new(); - for i in 0..1 { + for i in 0..5 { accounts.push(Account::offline(&format!("bot{i}"))); states.push(State::default()); } |
