Limnit episode concurrency to 5
This commit is contained in:
parent
630096e06d
commit
2e8acfdeef
@ -124,7 +124,7 @@ namespace AudibleUtilities
|
|||||||
|
|
||||||
List<Task<List<Item>>> getChildEpisodesTasks = new();
|
List<Task<List<Item>>> getChildEpisodesTasks = new();
|
||||||
|
|
||||||
int count = 0, maxConcurrentEpisodeScans = 10;
|
int count = 0, maxConcurrentEpisodeScans = 5;
|
||||||
using SemaphoreSlim concurrencySemaphore = new(maxConcurrentEpisodeScans);
|
using SemaphoreSlim concurrencySemaphore = new(maxConcurrentEpisodeScans);
|
||||||
|
|
||||||
await foreach (var item in Api.GetLibraryItemAsyncEnumerable(libraryOptions))
|
await foreach (var item in Api.GetLibraryItemAsyncEnumerable(libraryOptions))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user