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; }