Skip to content

Commit bbd98ab

Browse files
committed
set concurrent downloads to 2
1 parent ba0d638 commit bbd98ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/downloader/downloader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func (c *DownloadClient) StartDownload(tracks *[]*models.Track) {
5959

6060
for _, d := range c.Downloaders {
6161
var g errgroup.Group
62-
g.SetLimit(5)
62+
g.SetLimit(2)
6363

6464
for _, track := range *tracks {
6565
if track.Present {

0 commit comments

Comments
 (0)