Skip to content

Commit

Permalink
Sanity check on the concurrency BS.
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjoe41 committed Jan 11, 2022
1 parent f6ccb1b commit 7753830
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ func main() {
// Print Header text
output.Beautify()

// This is divided up in the subroutine for loop, so a value below 2 is BS.
if concurrency <= 1 {
concurrency = 2
}

// Create channels to use
domains := make(chan string)
subdomains := make(chan string)
Expand Down

0 comments on commit 7753830

Please sign in to comment.