From b25dcf6903e48835e45c59f0aec50dc6da60968e Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Fri, 28 Jun 2019 15:54:06 -0500 Subject: [PATCH] rm SO link (significantly changed) --- src/FilterLists.Agent/ListArchiver/DownloadLists.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/FilterLists.Agent/ListArchiver/DownloadLists.cs b/src/FilterLists.Agent/ListArchiver/DownloadLists.cs index bb17337a9..3ee009346 100644 --- a/src/FilterLists.Agent/ListArchiver/DownloadLists.cs +++ b/src/FilterLists.Agent/ListArchiver/DownloadLists.cs @@ -29,7 +29,6 @@ public Handler(IMediator mediator) _mediator = mediator; } - // https://stackoverflow.com/a/22492731/2343739 protected override async Task Handle(Command request, CancellationToken cancellationToken) { var downloader = new ActionBlock( @@ -37,7 +36,7 @@ protected override async Task Handle(Command request, CancellationToken cancella new ExecutionDataflowBlockOptions {MaxDegreeOfParallelism = MaxDegreeOfParallelism} ); foreach (var list in request.ListInfo) - await downloader.SendAsync(list, cancellationToken); + await downloader.SendAsync(list, cancellationToken); downloader.Complete(); await downloader.Completion; }