Skip to content

ParallelForEachAsync hangs when I update Microsoft.Bcl.AsyncInterfaces from 1.0.0.0 to 5.0.0.0 #70

Description

This code/app has been in place for years. Updated the Microsoft.Bcl.AsyncInterfaces from 1.0.0.0 to 5.0.0.0 and the app hangs in ParallelForEachAsync call.

var results = new ConcurrentBag<RowResult>(); await plogs.ParallelForEachAsync(async plog => { var response = await ProcessRow(plog.Item1, plog.Item2, fileUploadHistoryId, url, user, bankNo, companyNo, log); results.Add(response); }, maxDegreeOfParallelism: MaxDop).ConfigureAwait(false);

Break points in the ProcessRow method and it never gets there.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions