fix logic error
This commit is contained in:
parent
9402193e1f
commit
319a6385dd
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ async fn main() {
|
||||||
println!("encode: encoded {n}");
|
println!("encode: encoded {n}");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
while *running.lock().unwrap() < 5 {
|
while *running.lock().unwrap() >= 6 {
|
||||||
tokio::time::sleep(Duration::from_millis(100)).await;
|
tokio::time::sleep(Duration::from_millis(100)).await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue