ReadManyTaskHelperAsync uses Task.Run due to usage of SemaphoreSlim and rate limiting amount of parallel calls. Task.Run uses thread pool and schedules execution to background thread. Optimize solution not to use the thread pool.
Type of change
Please delete options that are not relevant.
[] Bug fix (non-breaking change which fixes an issue)
Pull Request Template
Description
ReadManyTaskHelperAsync
usesTask.Run
due to usage ofSemaphoreSlim
and rate limiting amount of parallel calls.Task.Run
uses thread pool and schedules execution to background thread. Optimize solution not to use the thread pool.Type of change
Please delete options that are not relevant.
Closing issues
To automatically close an issue: closes #4527