Browse Source

Bumped data channels capacity

master
parent
commit
d4888dab92
  1. 4
      src/main.go

4
src/main.go

@ -326,8 +326,8 @@ func main() {
defer outputFile.Close() defer outputFile.Close()
// prepare channels // prepare channels
jobs := make(chan web.Job, conf.Workers) jobs := make(chan web.Job, conf.Workers*5)
results := make(chan web.Result, conf.Workers) results := make(chan web.Result, conf.Workers*5)
// create initial jobs // create initial jobs
for _, initialPage := range conf.InitialPages { for _, initialPage := range conf.InitialPages {

Loading…
Cancel
Save