3e: median 619ms, max: 1039ms; 7.6 msg/op
This commit is contained in:
parent
19cbde32fd
commit
1949d84b7a
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,8 @@ fn main() {
|
|||
fn on_init(runner: &Runner) {
|
||||
let tx = runner.get_backdoor();
|
||||
thread::spawn(move || loop {
|
||||
let millis = rand::thread_rng().gen_range(50..=60);
|
||||
//let millis = rand::thread_rng().gen_range(200..=800);
|
||||
let millis = 200;
|
||||
thread::sleep(Duration::from_millis(millis));
|
||||
let body = Body::from_type("do_gossip");
|
||||
let msg = Message {
|
||||
|
|
Loading…
Reference in a new issue