netpong/scripts/spam.rs

13 lines
244 B
Rust
Raw Normal View History

2024-01-23 13:50:40 +01:00
const MAX: usize = 50;
use std::process::Command;
fn main() {
let mut pool = ThreadPool::new(MAX);
loop {
pool.execute(||{
Command::new("python3").args(["scripts/client.py"]).output().unwrap();
});
}
}