18.9 msg/op; median 337, max 509ms: passes ALL broadcast challenges

This commit is contained in:
Joe Ardent 2025-09-12 16:08:24 -07:00
parent 1949d84b7a
commit 2badae0321

View file

@ -19,7 +19,7 @@ fn on_init(runner: &Runner) {
let tx = runner.get_backdoor(); let tx = runner.get_backdoor();
thread::spawn(move || loop { thread::spawn(move || loop {
//let millis = rand::thread_rng().gen_range(200..=800); //let millis = rand::thread_rng().gen_range(200..=800);
let millis = 200; let millis = 65;
thread::sleep(Duration::from_millis(millis)); thread::sleep(Duration::from_millis(millis));
let body = Body::from_type("do_gossip"); let body = Body::from_type("do_gossip");
let msg = Message { let msg = Message {