Increase queue size for recursive download worker

This commit is contained in:
Tillie Kottmann 2020-11-01 18:40:19 +01:00
parent 0f7fb8ae6c
commit 0b6ec74296
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ func FetchGit(baseUrl, baseDir string) error {
} }
if utils.StringsContain(indexedFiles, "HEAD") { if utils.StringsContain(indexedFiles, "HEAD") {
fmt.Println("[-] Fetching .git recursively") fmt.Println("[-] Fetching .git recursively")
queue := createQueue(100) queue := createQueue(1000)
for w := 1; w <= maxConcurrency; w++ { for w := 1; w <= maxConcurrency; w++ {
go workers.RecursiveDownloadWorker(c, queue, baseUrl, baseDir, &wg) go workers.RecursiveDownloadWorker(c, queue, baseUrl, baseDir, &wg)
} }