|
@@ -131,8 +131,8 @@ impl Censor {
|
|
|
{
|
|
|
let bridge = bridges.get_mut(fingerprint).unwrap();
|
|
|
|
|
|
- let mut rng = rand::thread_rng();
|
|
|
- let num_connections = rng.gen_range(1000..30000);
|
|
|
+ // A large number
|
|
|
+ let num_connections = 30000;
|
|
|
|
|
|
// Make a bunch of connections to the bridge
|
|
|
bridge.censor_flood(num_connections);
|
|
@@ -145,7 +145,7 @@ impl Censor {
|
|
|
let num_prs = if config.one_positive_report_per_cred {
|
|
|
*cred_count
|
|
|
} else {
|
|
|
- rng.gen_range(1000..30000)
|
|
|
+ 30000
|
|
|
};
|
|
|
for _ in 0..num_prs {
|
|
|
self.send_positive_report(config, &bridge.fingerprint).await;
|