mirror of https://github.com/nyancrimew/goop.git
Increase queue size for recursive download worker
This commit is contained in:
parent
0f7fb8ae6c
commit
0b6ec74296
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue