Uint to int connnectionsPerHost

This commit is contained in:
Alex Holland 2017-09-04 22:31:44 -04:00 committed by GitHub
parent 7764297a42
commit 49c8b6997c

@ -88,7 +88,7 @@ func Process(mon *Monitor) {
for i := 0; i < workers; i++ {
go func() {
for obj := range processQueue {
for run := uint(0); run < config.ConnectionsPerHost; run++ {
for run := uint(0); run < uint(config.ConnectionsPerHost); run++ {
result := grabTarget(obj, mon)
outputQueue <- result
}