diff --git a/src/FilterLists.Agent/ListArchiver/DownloadLists.cs b/src/FilterLists.Agent/ListArchiver/DownloadLists.cs index 6faaff8a5..39b127c20 100644 --- a/src/FilterLists.Agent/ListArchiver/DownloadLists.cs +++ b/src/FilterLists.Agent/ListArchiver/DownloadLists.cs @@ -21,7 +21,10 @@ public Command(IEnumerable listInfo) public class Handler : AsyncRequestHandler { - private const int MaxDegreeOfParallelism = 25; + //TODO: sort lists and use domain sharding for concurrent downloads + //TODO: manual/auto-tune degrees of parallelism + private const int MaxDegreeOfParallelism = 5; + private readonly IMediator _mediator; public Handler(IMediator mediator)