From 0b6ec7429675bc3c5b68a063c7ad61606f4b347c Mon Sep 17 00:00:00 2001 From: Tillie Kottmann Date: Sun, 1 Nov 2020 18:40:19 +0100 Subject: [PATCH] Increase queue size for recursive download worker --- pkg/goop/clone.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/goop/clone.go b/pkg/goop/clone.go index 39825b9..d831ade 100644 --- a/pkg/goop/clone.go +++ b/pkg/goop/clone.go @@ -154,7 +154,7 @@ func FetchGit(baseUrl, baseDir string) error { } if utils.StringsContain(indexedFiles, "HEAD") { fmt.Println("[-] Fetching .git recursively") - queue := createQueue(100) + queue := createQueue(1000) for w := 1; w <= maxConcurrency; w++ { go workers.RecursiveDownloadWorker(c, queue, baseUrl, baseDir, &wg) }