From d4888dab92041d894aeea6dbe022e06f02155161 Mon Sep 17 00:00:00 2001 From: Unbewohnte Date: Mon, 23 Jan 2023 17:30:46 +0300 Subject: [PATCH] Bumped data channels capacity --- src/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.go b/src/main.go index 212b956..5722c66 100644 --- a/src/main.go +++ b/src/main.go @@ -326,8 +326,8 @@ func main() { defer outputFile.Close() // prepare channels - jobs := make(chan web.Job, conf.Workers) - results := make(chan web.Result, conf.Workers) + jobs := make(chan web.Job, conf.Workers*5) + results := make(chan web.Result, conf.Workers*5) // create initial jobs for _, initialPage := range conf.InitialPages {