Skip to content

Commit 3ea293d

Browse files
committed
tcp-stress-test.rs: Only spawn 200 threads.
1 parent aaf8a6e commit 3ea293d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/tcp-stress.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use std::sync::mpsc::channel;
2121
use std::time::Duration;
2222
use std::thread::{self, Builder};
2323

24-
const TARGET_CNT: usize = 1000;
24+
const TARGET_CNT: usize = 200;
2525

2626
fn main() {
2727
// This test has a chance to time out, try to not let it time out

0 commit comments

Comments
 (0)