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}");
|
||||
});
|
||||
}
|
||||
while *running.lock().unwrap() < 5 {
|
||||
while *running.lock().unwrap() >= 6 {
|
||||
tokio::time::sleep(Duration::from_millis(100)).await;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue