feat: use cap 100
This commit is contained in:
@@ -2,7 +2,7 @@ use std::thread;
|
|||||||
use crossbeam_channel::bounded;
|
use crossbeam_channel::bounded;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let (s, r) = bounded(0);
|
let (s, r) = bounded(100);
|
||||||
|
|
||||||
let mut ts = vec![];
|
let mut ts = vec![];
|
||||||
for ti in 0..4 {
|
for ti in 0..4 {
|
||||||
|
|||||||
Reference in New Issue
Block a user