tcp-stress-test.rs: Only spawn 200 threads.

This commit is contained in:
Moritz Ulrich 2016-08-01 09:43:19 +02:00
parent aaf8a6e108
commit 3ea293ddf2

View File

@ -21,7 +21,7 @@ use std::sync::mpsc::channel;
use std::time::Duration;
use std::thread::{self, Builder};
const TARGET_CNT: usize = 1000;
const TARGET_CNT: usize = 200;
fn main() {
// This test has a chance to time out, try to not let it time out