From 711a4894b962c3ba26c0fc6eef57ddcb6e34cb76 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Fri, 28 Jun 2019 18:43:36 -0500 Subject: [PATCH] add TODOs --- src/FilterLists.Agent/ListArchiver/DownloadLists.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)