Closed valkyrienyanko closed 1 year ago
The solution to this was setting ThreadPool.SetMinThreads(100, 100);
ThreadPool.SetMinThreads(100, 100);
Problem is caused by the min threads being set to 11 by default.
Tasks are enqueued to a pool. And then they wait their turn to get executed. So only min threads are executed asynchronously.
The solution to this was setting
ThreadPool.SetMinThreads(100, 100);
Problem is caused by the min threads being set to 11 by default.
Tasks are enqueued to a pool. And then they wait their turn to get executed. So only min threads are executed asynchronously.