Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change maxdegreeofparallelism during execution? #59

Open
FrenziedIM opened this issue May 2, 2020 · 0 comments
Open

Change maxdegreeofparallelism during execution? #59

FrenziedIM opened this issue May 2, 2020 · 0 comments

Comments

@FrenziedIM
Copy link

I'm guessing this isn't possible, but by the slight chance it is, please let me know how to do it! I need to change the number of threads whilst the parallel loop is running.

My other option is using cancellation tokens, but they seem to be very slow. Is there not a fast way to just completely exit the parallelforeachasync? Might have to result to a application restart, but was wondering if someone could help me this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant