mirror of
https://github.com/edu4rdshl/rusolver.git
synced 2026-07-17 23:24:55 +00:00
Only use 10 random generated hosts.
Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
This commit is contained in:
parent
d9baa7a9c3
commit
af4b5c1126
1 changed files with 2 additions and 2 deletions
|
|
@ -219,7 +219,7 @@ async fn detect_wildcards(
|
|||
println!("Running wildcards detection for {}...\n", target)
|
||||
}
|
||||
let mut generated_wilcards: HashSet<String> = HashSet::new();
|
||||
for _ in 1..20 {
|
||||
for _ in 1..10 {
|
||||
generated_wilcards.insert(format!(
|
||||
"{}.{}",
|
||||
rng()
|
||||
|
|
@ -247,7 +247,7 @@ async fn detect_wildcards(
|
|||
}
|
||||
},
|
||||
))
|
||||
.buffer_unordered(20)
|
||||
.buffer_unordered(10)
|
||||
.map(stream::iter)
|
||||
.flatten()
|
||||
.collect()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue