Uint to int connnectionsPerHost
This commit is contained in:
parent
7764297a42
commit
49c8b6997c
@ -88,7 +88,7 @@ func Process(mon *Monitor) {
|
|||||||
for i := 0; i < workers; i++ {
|
for i := 0; i < workers; i++ {
|
||||||
go func() {
|
go func() {
|
||||||
for obj := range processQueue {
|
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)
|
result := grabTarget(obj, mon)
|
||||||
outputQueue <- result
|
outputQueue <- result
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user